Rearrange the digits in ⟨1263045⟩ to meet the rules below.
⟨6th 5th 4th 3rd 2nd 1st 0th⟩
✅Match
⟦0,4⟧ ∋ 1,3,5,6
⟨⋯ 4 ⋯ 2 ⋯⟩
6th → a, 4th → b, |a-b|=5
⟨⋯ 3 ⋯ 5 ⋯⟩
⛔Avoid
5th → a, 2nd → b, a+b=3+6n
#125034_v1.7
Q1(m=6) 2023-08-29
6543210
-------
0------
0-5----
035----
035--4-
035--42
0356-42
0356142
#125034_v1.7
No comments:
Post a Comment