Rearrange the digits in ⟨1263045⟩ to meet the rules below.
⟨6th 5th 4th 3rd 2nd 1st 0th⟩
✅Match
⟨⋯ 0 ⋯ ? 6 ⋯ (?+3)⟩ (?≠3)
{p4, p3, p0} = ? + {0,1,3}
max ⊢3⊣ = 4
median {p3, p2, p1} = 2
⛔Avoid
median {p5, p4, p0} = 4
#125034_v2.10
2025-10-02 Q1(m=6)
6543210
-------
---2---
--52---
--52--3
0-52--3
0652--3
0652-43
0652143
#125034_v2.10