What decimal digit occurs most often in the sequence of factorials from 77777! to 77877! inclusive?
This can be solved by logic. You do not need to compute any factorials.
Many zeros have built up at the end of 77777! and every fifth one after that adds another. There are more than 15,000 excess zeros in each of these factorials not counting the ones that are mixed in with the nonzeros that probably occur with equal frequency as other digits.

Posted by Charlie
on 20240529 10:38:59 