Rearrange the digits in ⟨1263045⟩ to meet the rules below.
⟨6th 5th 4th 3rd 2nd 1st 0th⟩
✅Match
6th → a, 4th → b, |a-b|=1
⟨⋯ 1 ⋯ 2 ⋯ 5 ⋯ 6 ⋯⟩
⛔Avoid
⟨⋯ 5 ⋯ a ⋯⟩, a = 2|3|4
⟨⋯ 1 ⋯ ? 5 ⋯ (?+4)⟩ (?≠1)
⟨⋯ 2 ⋯ a ⋯⟩, a = 1|4
⟨? 4 ⋯ (?−1) ⋯ 6 ⋯⟩ (?≠4,5)
3rd → 0|2|4|6
#125034_v2.3