Math Problem Statement

What is the remainder when 2009! is divided by 131?

Solution

To determine the remainder when 2009!2009! is divided by 131, we use Wilson's theorem and modular arithmetic.

Wilson's Theorem:

For a prime number pp, (p1)!1(modp)(p-1)! \equiv -1 \pmod{p}.

Here, p=131p = 131, which is prime. Thus: 130!1(mod131)130! \equiv -1 \pmod{131}

Extend to 2009!2009!:

We observe that 2009!=(131k+r)!2009! = (131k + r)!, where kk is an integer and r=2009mod131r = 2009 \mod 131. First, calculate 2009mod1312009 \mod 131: 2009÷131=15 remainder 442009 \div 131 = 15 \text{ remainder } 44 Thus: 200944(mod131)2009 \equiv 44 \pmod{131}

This reduces the factorial 2009!2009! to 44!(mod131)44! \pmod{131} because all multiples of 131131 beyond 4444 contribute nothing under modulo arithmetic.

Simplifying 44!44!:

To simplify 44!(mod131)44! \pmod{131}, note that directly computing 44!44! is infeasible due to its size. However, 44!44! can be written as: 44!=1234444! = 1 \cdot 2 \cdot 3 \cdot \dots \cdot 44

Using modular arithmetic, we multiply the terms iteratively modulo 131. Using computational tools or a systematic reduction approach, we compute: 44!0(mod131)44! \equiv 0 \pmod{131} because 131131 divides one of the terms in 2009!2009! (any term greater than 131 contributes a factor of 0).

Thus, the remainder when 2009!2009! is divided by 131131 is: 0\boxed{0}

Let me know if you'd like a detailed step-by-step walkthrough of the modular arithmetic or any further clarifications!


Related Questions:

  1. How does Wilson's theorem apply to other primes?
  2. What is the factorial remainder of 2009!2009! modulo 1313?
  3. Can we generalize n!n! modulo pp for composite pp?
  4. How can modular arithmetic simplify large factorials?
  5. What are other applications of Wilson's theorem in number theory?

Tip: Modular arithmetic often simplifies problems involving large numbers by reducing terms to smaller equivalences under the modulus.

Ask a new question for Free

By Image

Drop file here or Click Here to upload

Math Problem Analysis

Mathematical Concepts

Modular Arithmetic
Factorials
Number Theory

Formulas

(p-1)! ≡ -1 (mod p) for prime p (Wilson's Theorem)
n! modulo p simplifications

Theorems

Wilson's Theorem

Suitable Grade Level

Grades 11-12 and Above