Problem 551: (2004 AIME I, 1)
The digits of a positive integer $n$ are four consecutive integers in decreasing order when read from left to right. What is the sum of the possible remainders when $n$ is divided by 37?
- If the digits are $a+3,a+2,a+1,a$ with $0\le a\le6$, then $n=1000(a+3)+100(a+2)+10(a+1)+a=1111a+3210$.
- Since $1111=37\cdot30+1$ and $3210=37\cdot86+28$, $n\equiv a+28\pmod{37}$.
- For $a=0,\dots,6$ the remainders are $28,\dots,34$, all less than $37$. Their sum is $7\cdot31=217$.
- The answer is $\boxed{217}$.
The digits of a positive integer $n$ are four consecutive integers in increasing order when read from left to right. What is the sum of the possible remainders when $n$ is divided by 41?