Skip to content

Lesson 7 of 11 · Remainders

Large Power Mod 9

Number System · for IPMAT Indore, IPMAT Rohtak and JIPMAT · asked in Indore 2026 SA

Video lesson: Large Power Mod 9

Sign in to watch · 7 min video

Formulas you need

Sums of factorials modulo m

n!≡0(modm) once n! contains every prime power of m ⇒ ∑k=1Nk!≡∑k<k0k!(modm)n!\equiv0\pmod m\ \text{once }n!\text{ contains every prime power of }m\ \Rightarrow\ \sum_{k=1}^{N}k!\equiv\sum_{k<k_0}k!\pmod m

Indore 2023 Q8: 1! + ... + 95! mod 15 = (1 + 2 + 6 + 24) mod 15 = 3; modulo 40 the cut-off is 6!.
Remainders modulo 9 through digit sums

N≡S(N)(mod9);26≡1(mod9);3k≡0(mod9) (k≥2)N\equiv S(N)\pmod 9;\quad 2^{6}\equiv1\pmod 9;\quad 3^{k}\equiv0\pmod 9\ (k\ge2)

Indore 2019 Q23: (29^29)^29 = 29^841, 29 = 2 mod 9, cycle 6, 841 = 1 mod 6 -> 2.
Wilson's theorem

(p−1)!≡−1(modp),(p−2)!≡1(modp)(p prime)(p-1)!\equiv-1\pmod p,\quad (p-2)!\equiv1\pmod p\quad(p\text{ prime})

150! mod 151 = 150; 149! mod 151 = 1; n! mod (n+1) = 0 when n + 1 is composite and at least 6.

How Remainders is asked

  • remainder of a^n by 7, 9, 11, 13, 17
  • 11^1011 + 1011^11 mod 9 (Indore 2025 Q3); (29^29)^29 mod 9 (Indore 2019 Q23); 7^103 + 7^101 mod 9 (Indore 2026)
  • 1! + 2! + ... + 95! mod 15 (Indore 2023 Q8)
  • quotient x remainder = 24, sum 10, divisor 5 -> dividend (Indore 2020 Q1); N = 36k + 14 -> N mod 24
  • (p-1)! mod p (Wilson)
  • 123456...4950 mod 16 / 9 / 11
  • 1 + a + a^2 + ... + a^n mod m

Picked from the Remainders note for this micro-concept automatically. The whole note: Remainders.

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

Start free