• Our Services
    • Math Olympiad Courses
  • Books
  • Blog
  • Alumni
  • Contact Us
  • Login

Text:

info@42points.com
42 Points42 Points
  • Our Services
    • Math Olympiad Training
      • AMC 8 & MATHCOUNTS
      • Proof-Based Preparation – Part 1
      • Proof-Based Preparation – Part 2
      • AMC 10 & AMC 12
      • Junior Math Olympiad
      • Practice of Problem Solving
      • Senior Math Olympiad
  • Books
  • Blog
  • Alumni
  • Contact
  • Log in

Wilson’s Theorem

May 9, 2022 Math Olympiads Topics, Math Topics

Wilson’s Theorem states that $p$ is prime if and only if

$$(p-1)! \equiv -1 \pmod{19}$$

Problem (Estonia, 2000)

Prove that it is not possible to divide any set of $18$ consecutive positive integers into two disjoint sets $A$ and $B$, such that the product of the elements in $A$ equals the product of the elements in $B$.



Solution
Let $x_1$, $x_2$, …, $x_{18}$ be any $18$ consecutive integers and let us assume the mentioned division exists. Let $p(X)$ denote the product of the elements of the set $X$. Notice that among any $18$ consecutive integers, there is at most one multiple of $19$.

Case 1: one of the numbers is a multiple of $19$.
Let this number belong to the set $A$. Therefore
$$ p(A) \equiv 0 \pmod{19} $$
However, $B$ has no multiples of $19$ and
$$ p(B) \not\equiv 0 \pmod{19} $$
and $p(A) \neq p(B)$. Contradiction.

Case 2: none of the numbers is a multiple of $19$.

Therefore they give remainders $1$, $2$, …, $18$ modulo $19$. Since $19$ is prime, then by Wilson’s Theorem
$$ 18! \equiv -1 \pmod{19} $$
If $p(A) = p(B)$, then
$$ \left( p(A) \right)^2 = p(A) \cdot p(B) \equiv 18! \equiv -1 \pmod{19} $$

This means that a square of some integer gives remainder $-1$ modulo $19$. It is not hard to check that a square modulo $19$ is never $-1$. Contradiction.



Share
4

About 42 Points

42 Points is an Online Math Training Program and Tutoring Service. Learn more about our services at https://42points.com/

You also might be interested in

Monovariant

Jun 12, 2021

Monovariant is a quantity related to the object that is[...]

Puerto Rico Team Selection Test, 2021. Day 2

Sep 14, 2021

Problem 4 How many numbers $\overline{abcd}$ with different digits satisfy[...]

Mathematical Induction: Number Theory

Jun 15, 2021

Mathematical Induction is used to prove that the statement of[...]

Join our newsletter

Post Archives

Post Categories

Most Liked Posts

  • Solutions to the Polish Mathematical Olympiad, 2021 By 42 Points on December 21, 2021 9
  • Monovariant By 42 Points on June 12, 2021 7
  • Puerto Rico Team Selection Test, 2021. Day 2 By 42 Points on September 14, 2021 7

Tag Cloud

Math Competitions Math Olympiads Math Topics OMPR OMPR 2022 Puerto Rico

Find us on

Ads

Cute Watercolor Bunny Throw Pillow
Adorable Watercolor Bunny Throw Pillow
by ULA Art Studio
Funny Realistic Corn Pattern Socks
Funny Corn Pattern Socks
by ULA Art Studio

42 Points

42 Points is an Online Math Olympiad Program and tutoring service.

Hablamos español, contáctenos para mayor información sobre nuestros cursos y servicios.

 

Contact Information

  • 42 Points
  • info@42points.com
  • 42points.com

Quick Links

  • Math Olympiad Courses
  • AP Calculus
  • Online Math Tutoring
  • Books
  • Blog
  • Alumni
  • Help Center

Fresh from 42Pedia blog

  • Puerto Rico Team Selection Test, 2023. Day 2
  • Puerto Rico Team Selection Test, 2023. Day 1
  • Team Selection Test for Centro and Ibero 2022

WE ACCEPT

PayPal Acceptance Mark

© 2025 — 42 Points.

  • Online Math Training & Tutoring Services
  • Disclaimer
  • Contact
  • Buy AMC 10 Preparation Book
Prev Next