Skip to content

Lesson 9 of 11 · Remainders

Wilson's Theorem: 150! mod 151

Number System · for IPMAT Indore, IPMAT Rohtak and JIPMAT

Video lesson: Wilson's Theorem: 150! mod 151

Sign in to watch · 4 min video

The exam method

  1. Wilson. 150! mod 151=150150!\bmod151=150 because 151151 is prime.

Formulas you need

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.

Watch out

  • Cycle length confused with modulus; negative remainders left as such; towers vs products of exponents; 3k≡0(mod9)3^k\equiv0\pmod9 forgotten; Wilson applied to composites.

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