第 613 题:(2010 AIME II, 1)
Let $N$ be the greatest integer multiple of $36$ all of whose digits are even and no two of whose digits are the same. Find the remainder when $N$ is divided by $1000$.
- $N$ must be divisible by $4$ and $9$. Its digits are distinct and taken from $\{0,2,4,6,8\}$, whose sum is $20$.
- The digit sum must be an even multiple of $9$, so it is $18$: the digits are $0,4,6,8$ (dropping $2$).
- The largest arrangement whose last two digits form a multiple of $4$ is $8640$. The remainder is $640$.
- The answer is $\boxed{640}$.
Let $N$ be the greatest integer multiple of $45$ all of whose digits are odd and no two of whose digits are the same. Find the remainder when $N$ is divided by $1000$.