NDA Maths · Binomial Theorem
Remainders & Divisibility via Binomial Expansion
Writing a base as (multiple ± 1) and expanding by the binomial theorem makes a remainder fall out — every term except the last is divisible by the modulus, so only the tail survives.
Why this matters
Only 3 PYQs, but they are quick marks once you see the move: re-express the base near a multiple of the divisor. The same idea also handles the power of a prime hidden inside a factorial.
Concept 1 of 2
Remainders by the Binomial Trick
Intuition
Definition
To find : write (or for a small ) and expand . Every term with has a factor , so
Base near a multiple of m
Worked example
- .
- ; every term with is divisible by 7.
- Only the term survives mod 7: .
From the bank · past-year question
[Q36 · Sep · 2024]
Choose the base CLOSEST to a multiple of the divisor
Concept 2 of 2
Power of a Prime in n! (Legendre's Formula)
Intuition
Definition
The exponent of a prime in is Legendre's formula
Legendre's formula
Worked example
- Power of 2 in : .
- Since , the max is .
From the bank · past-year question
[Q10 · Apr · 2024]
Count the prime, then divide by its exponent
Summary — formulas & gotchas at a glance
A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.
Formulas (2)
- Remainders by the Binomial Trick
Base near a multiple of m
- Power of a Prime in n! (Legendre's Formula)
Legendre's formula
Watch out for (2)
- Choose the base CLOSEST to a multiple of the divisor→ Remainders by the Binomial Trick
- Count the prime, then divide by its exponent→ Power of a Prime in n! (Legendre's Formula)
Mastery check — 1 interleaved questions
Try each one before clicking. Questions are interleaved across the concepts above, not grouped — interleaving sharpens transfer.
[Q18 · Apr · 2024]
Drill every past-year question on this subtopic
3 questions from the bank — paginated, with cart and Word-export support.