Skip to content

Start here · the first lesson of Factorials and Trailing Zeros

Factorials and Trailing Zeros

Number System · for IPMAT Indore, IPMAT Rohtak and JIPMAT

Video lesson: Factorials and Trailing Zeros: start here

Sign in to watch · 5 min video

The idea

N!N! contains every integer up to NN, so the exponent of a prime pp in it is the number of multiples of pp, plus the multiples of p2p^2 (which carry a second factor), and so on. Trailing zeros are exponents of 10=2×510=2\times5, and 55 is always the scarcer prime.

Textbook vs exam method

Exam method

  1. Indore 2019 Q22. v7(50!)=7+1=8v_7(50!)=7+1=8, v3(50!)=22v_3(50!)=22: n=8n=8.Indore 2019
  2. Zeros of 146!146! limited by v3v_3 when the base is 66: 48+16+5+1=7048+16+5+1=70.
  3. 'How many NN have N!N! with exactly 2323 zeros': 99!→2299!\to22, 100!→24100!\to24: none.
  4. 100!+200!=100!(1+101⋯200)100!+200!=100!(1+101\cdots200): the bracket ends in 11, zeros =24=24.
  5. 1001=7⋅11⋅131001=7\cdot11\cdot13 in 1001!1001!: v13=77+5=82v_{13}=77+5=82 is the minimum.

What's ahead in Factorials and Trailing Zeros

  1. 1.Highest power of p in N!5 questions + fresh variants5 min video
  2. 2.Trailing zeros of N!5 questions + fresh variants5 min video
  3. 3.Composite base: scarcest prime wins2 questionsIndore 20195 min video
  4. 4.Trailing Zeros: The Inverse Trick2 questions5 min video
  5. 5.Zeros in Products, Not Just Factorials6 questions + fresh variants4 min video

Practise this free. Every mistake is saved and comes back until you fix it.

Start free