Rearrange the digits in ⟨125034⟩ to meet the rules below.
⟨5th 4th 3rd 2nd 1st 0th⟩
✅Match
5th → a, 4th → b, |a-b|=1
⟨⋯ 5 ⋯ 4 ⋯⟩
⟨⋯ Perm(0,5) ⋯⟩
⛔Avoid
⟨⋯ 1 ⋯ a ⋯⟩, a = 2|5
⟨? ⋯ 1 (?+1) ⋯ 4 ⋯⟩ (?≠1,0)
⟨⋯ ? ⋯ 0 ⋯ (?−1)⟩ (?≠1)
#125034_v2.7
2024-10-31 WR
🚧🚧🚧🚧🚧✅
🚧🚧✅🚧🚧✅
🚧🚧✅✅🚧✅
🚧🚧✅✅✅✅
✅🚧✅✅✅✅
✅✅✅✅✅✅
#125034_v2.7
No comments:
Post a Comment