Rearrange the digits in ⟨1263045⟩ to meet the rules below.
⟨6th 5th 4th 3rd 2nd 1st 0th⟩
✅Match
6th → a, 1st → b, |a-b|=1
⟨? ⋯ 1 ⋯ (?+1) ⋯⟩ (?≠1,0)
⟨⋯ Perm(0,4,5) ⋯⟩
⛔Avoid
⟨⋯ 4 ⋯ a ⋯⟩, a = 2|3|5|6
⟨ ¹ˢᵗ↓ ⟩ after 3×⟨←⟩
⟦2,6⟧ ∋ 1
#125034_v2.2
2024-01-05 Q1(m=6)
6543210
-------
-----4-
-----40
----540
-6--540
36--540
362-540
3621540
#125034_v2.2
No comments:
Post a Comment