Start here · the first lesson of Factorials and Trailing Zeros
Factorials and Trailing Zeros
Number System · for IPMAT Indore, IPMAT Rohtak and JIPMAT
Sign in to watch · 5 min video
The idea

contains every integer up to , so the exponent of a prime in it is the number of multiples of , plus the multiples of (which carry a second factor), and so on. Trailing zeros are exponents of , and is always the scarcer prime.
Textbook vs exam method
Textbook method
Legendre's formula for each prime; for a composite base take the minimum over its primes after dividing by the exponent in the base. For zeros of general products count s and s term by term. Inverse questions use the fact that increases only at multiples of , by normally and by more at multiples of , , ...
Exam method
- Indore 2019 Q22. , : .Indore 2019
- Zeros of limited by when the base is : .
- 'How many have with exactly zeros': , : none.
- : the bracket ends in , zeros .
- in : is the minimum.
What's ahead in Factorials and Trailing Zeros
- 1.Highest power of p in N!5 questions + fresh variants5 min video
- 2.Trailing zeros of N!5 questions + fresh variants5 min video
- 3.Composite base: scarcest prime wins2 questionsIndore 20195 min video
- 4.Trailing Zeros: The Inverse Trick2 questions5 min video
- 5.Zeros in Products, Not Just Factorials6 questions + fresh variants4 min video