Rearrange the digits in ⟨1263045⟩ to meet the rules below.
⟨6th 5th 4th 3rd 2nd 1st 0th⟩
✅Match
⟨ ⁶ᵗʰ↑ ⁵ᵗʰ↑ ⁴ᵗʰ↓ ³ʳᵈ= ²ⁿᵈ↑ ¹ˢᵗ↓ ⁰ᵗʰ↓ ⟩ after ⟨⇌⟩
3rd → 1
⟨⋯ 6 ⋯ a ⋯⟩, a = 1|2|3|4
6th → a, 1st → b, |a-b|=2
⛔Avoid
min ⊢5⊣ ≤ 2
5th → a, 3rd → b, ab=3
#125034_v2.4
2024-04-11 Q1(m=6)
6543210
-------
---1---
--61---
--61--5
--61-45
2-61-45
2-61345
2061345
#125034_v2.4
No comments:
Post a Comment