Rearrange the digits in ⟨125034⟩ to meet the rules below.
⟨ ⁵ᵗʰ▨ ⁴ᵗʰ▨ ³ʳᵈ▨ ²ⁿᵈ▨ ¹ˢᵗ▨ ⁰ᵗʰ▨ ⟩
✅Match
2nd → a, 1st → b, |a-b|=5
1st → a, 0th → b, |a-b|=1
max {p5, p1, p0} = 5
⛔Avoid
5th → a, 1st → b, ab=15
5th → a, 0th → b, |a-b|=3
4th → a, 0th → b, a+b=5
#125034_v2.11
2025-11-20 Q1(v=1)
543210
------
----5-
---05-
---054
2--054
23-054
231054
#125034_v2.11