Rearrange the digits in ⟨1263045⟩ to meet the rules below.
⟨6th 5th 4th 3rd 2nd 1st 0th⟩
✅Match
1st → 5
6th → 3
2nd → a, 1st → b, |a-b|=5
0th → 2
⟨ ³ʳᵈa ¹ˢᵗb ⟩, max⟦a,b⟧ = 6
⛔Avoid
6th → a, 4th → b, a+b=4+6n
#125034_v2.9
2025-07-29 Q1(m=6)
6543210
-------
-----5-
3----5-
3---05-
3---052
3--6052
31-6052
3146052
#125034_v2.9