Machine-translated by Google. Questions are authored in English.
Top

Discussion

What is the remainder when \((20!)\) is divided by 23?

  • A.11
  • B.22
  • C.21
  • D.2

Answer: A

Correct answer: 11

Wilson’s theorem states that \((p-1)! \equiv -1 \pmod p\) for any prime \(p\). With \(p = 23\),

\[22! \equiv -1 \pmod{23}\]

Peel off the two largest factors, using \(22 \equiv -1\) and \(21 \equiv -2 \pmod{23}\):

\[22! = 22\times 21\times 20! \equiv (-1)(-2)\,20! = 2\cdot 20! \pmod{23}\]

So \(2\cdot 20! \equiv -1 \equiv 22 \pmod{23}\), and halving gives \(20! \equiv 11 \pmod{23}\).

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.