Rearrange the digits in ⟨1263045⟩ to meet the rules below.
⟨6th 5th 4th 3rd 2nd 1st 0th⟩
✅Match
⟨? ⋯ 4 ⋯ (?+2) ⋯⟩ (?≠4,2)
4th → a, 0th → b, |a-b|=2
⟨⋯ ? ⋯ 2 ⋯ (?+4)⟩ (?≠2)
Jump(0,3) = 0
⛔Avoid
⟨⋯ 2 ⋯ a ⋯⟩, a = 0|3|4|6
#125034_v2.5
2024-07-25 Q1(m=6)
6543210
-------
------5
--3---5
--3--25
1-3--25
143--25
1430-25
1430625
#125034_v2.5
No comments:
Post a Comment