Rearrange the digits in ⟨1263045⟩ to meet the rules below.
⟨6th 5th 4th 3rd 2nd 1st 0th⟩
✅Match
⟨? 6 ⋯ (?+2) ⋯ 5 ⋯⟩ (?≠4)
⟨⋯ 2 ⋯ 0 ⋯ 1 ⋯⟩
⟦2,3⟧ ∋ 1
⛔Avoid
⟦5,6⟧ ∋ 1,3,4
median {p5, p2, p1} = 5
#125034_v2.9
2025-07-31 Q1(m=6)
6543210
-------
-6-----
26-----
26-5---
2645---
26450--
264501-
2645013
#125034_v2.9