Rearrange the digits in ⟨1263045⟩ to meet the rules below.
⟨6th 5th 4th 3rd 2nd 1st 0th⟩
✅Match
⟨⋯ Perm(1,3,6) ⋯⟩
5th → 1|2|4|5
⟨⋯ 3 ⋯ a ⋯⟩, a = 2|5
1st → 1
⟨ ⁶ᵗʰa ¹ˢᵗc ⁰ᵗʰb ⟩, a > b > c
⛔Avoid
5th → a, 3rd → b, |a-b|=1
6th|4th|2nd|1st|0th → 6
#125034_v2.3
2024-03-03 Q1(m=6)
6543210
-------
-----1-
---6-1-
---631-
---6312
-4-6312
54-6312
5406312
#125034_v2.3
No comments:
Post a Comment