Rearrange the digits in ⟨1263045⟩ to meet the rules below.
⟨6th 5th 4th 3rd 2nd 1st 0th⟩
✅Match
⟨⋯ 5 ⋯ ? ⋯ 1 (?−4)⟩ (?≠5)
max ⊢4⊣ ≥ 5
⟨? ⋯ 2 ⋯ (?+1) ⋯⟩ (?≠2,1)
⛔Avoid
⟨ ⁵ᵗʰa ⁴ᵗʰb ³ʳᵈc ⟩, (abc)₁₀ ≤ 321
{p6, p5, p3, p2} = ? + {0,1,2,3}
#125034_v2.9
2025-05-18 Q1(m=6)
6543210
-------
-----1-
-----10
---2-10
5--2-10
5--2610
54-2610
5432610
#125034_v2.9