What is the smallest positive integer n such that the rightmost three digits of n and n + n! are the same?
I don't know, but my first thought was 1000. Those three zeroes would always be on the end.
.
n = 100 does the trick.
(if we allow preceding zeros for n, then n = 015 works. 015+015! = 1307674368015)