Lesson 1 of 5 · Factorials and Trailing Zeros
Highest power of p in N!
Number System · for IPMAT Indore, IPMAT Rohtak and JIPMAT
Sign in to watch · 5 min video
Worked examples
Example 2Easy
Highest power of in
, ; answer .
Formulas you need
Highest power of a composite in a factorial
Indore 2019 Q22: 21 = 3 x 7, v_7(50!) = 8 < v_3(50!) = 22, so 21^8 is the highest power; divide by the exponent inside m when m has a prime power (12 = 2^2 x 3).
How Factorials and Trailing Zeros is asked
- max n with p^n | N!
- zeros at end of N!
- 21^n divides 50! (Indore 2019 Q22); highest power of 24 in 108!
- how many N have N! ending in exactly k zeros; smallest N with k zeros
- zeros at the end of 5 x 10 x 15 ... / 1^1 2^2 ... n^n / 30 x 60 x ... x 30n
Picked from the Factorials and Trailing Zeros note for this micro-concept automatically. The whole note: Factorials and Trailing Zeros.