Rearrange the digits in ⟨1263045⟩ to meet the rules below.
⟨6th 5th 4th 3rd 2nd 1st 0th⟩
✅Match
5th → a, 2nd → b, |a-b|=4
⟨ ³ʳᵈa ⁰ᵗʰb ⟩, max⟦a,b⟧ = 4
⟨⋯ 2 ⋯ 0 ⋯ 1 ⋯⟩
⛔Avoid
3rd → 0|1|3|6
6th → a, 5th → b, |a-b|=1
#125034_v2.6
2024-10-04 Q1(m=6)
6543210
-------
-6-----
-6--2--
-65-2--
-65-20-
-65-201
-654201
3654201
#125034_v2.6
No comments:
Post a Comment