Factors and Factorials Type: Number Theory Diff: 2.0
Tricks
Generate the n! and then test.
100! oh noooooooooooooooo. This is impossible.
No matter!!! Try the following:
This gives us how many times a prime number p is in n!.
Related Problems & Topics
If you have any advice, complements
or proposal, please Send mail to Author
Submit