Rearrange the digits in ⟨1263045⟩ to meet the rules below.
⟨6th 5th 4th 3rd 2nd 1st 0th⟩
✅Match
median {p4, p3, p0} = 1
⟨⋯ ? ⋯ 0 ⋯ (?−3)⟩ (?≠3)
⟦5,6⟧ ∋ 0,2,3,4
4th → a, 1st → b, |a-b|=1
⛔Avoid
max {p3, p2} = 3
#125034_v2.9
2025-07-08 Q1(m=6)
6543210
-------
------1
---0--1
6--0--1
6--0-51
6-40-51
6-40251
6340251
#125034_v2.9