Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

counting and probability intermediate

Problem

What three-digit integer is equal to the sum of the factorials of its digits?
Solution
With a few initial observations, we realize that the hundreds digit cannot be greater than 1, because the digits 5 or 6 are needed to make a 3 digit integer but will not fit with the larger hundreds digit. Clearly one of the digits is 5, to contribute to the sum . Then since we have the hundreds digit of 1, , we need a middle digit. After testing a few, 4 works, since .
Final answer
145