• Courses
    • Math Olympiad Courses
  • Math Olympiad Books
  • Blog
  • Alumni
  • Contact Us

Text:

info@42points.com
42 Points42 Points
  • Math Olympiad Courses
    • Math Olympiad Training
      • AMC 8 & MATHCOUNTS
      • Proof-Based Preparation
      • AMC 10 & AMC 12
      • Junior Math Olympiad
      • Practice of Problem Solving
      • Senior Math Olympiad
  • Math Olympiad Books
  • Blog
  • Alumni
  • Contact

Euler’s Theorem

July 14, 2021 Math Olympiads Topics

Euler’s Theorem states that for a positive integer $n$ and an integer $a$ relatively prime with $n$

$$ a^{\phi(n)} \equiv 1 \hspace{0.05in} (\text{mod } n) $$

where $\phi(n)$ is the Euler’s function.

Problem (Baltic Way, 1997)

If we add $1996$ to $1997$, we get $1996+1997=3993$, thus making three carries in total. Does there exist a positive integer $k$, such that adding $1996k$ to $1997k$ no carry arises during the whole calculation?



Solution

Answer: yes, there exists such a number $k$.

Let us prove that there exists a number $x$ that consists entirely of digits $9$ and is multiple of $3993$. This will automatically imply that if $x$ is a sum of some two numbers $1996k$ and $1997k$, then there were no carries during the calculation.

Train for Math Olympiads

Learn more
 

Since $10$ and $3993$ are relatively prime, then by Euler’s Theorem

$$ 10^{\phi(3993)} \equiv 1 \hspace{0.05in} (\text{mod } 3993) $$

Therefore

$$ 3993 \text{ } | \left( 10^{\phi(3993)} – 1 \right) $$

Now we can put $x=10^{\phi(3993)} – 1$. Note that $x$ consists entirely of digits $9$ and also

$$ 3993 \text{ } | \text{ } x $$

Now for the value of $k$ we can take the number $\phi(3993)$.




Tags: Math Topics
Share
3

About 42 Points

At 42 Points, we help students prepare for Math Olympiad competitions through courses and books. Both focus on building problem-solving skills and providing a clear path to success.

You also might be interested in

Vieta’s Formulas

Aug 16, 2021

Let $x_1$ and $x_2$ be the solutions of the quadratic[...]

Mathematical Induction: Inequalities

Jun 15, 2021

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

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 10
  • 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

42 Points

At 42 Points, we help students prepare for Math Olympiad competitions through courses and books. Both focus on building problem-solving skills and providing a clear path to success.

Contact Information

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

Quick Links

  • Math Olympiad Courses
  • Math Olympiad Books
  • Blog
  • Alumni

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

© 2026 — 42 Points.

  • Online Math Olympiad Preparation
  • Disclaimer
  • Contact
  • Buy AMC 10 Preparation Book
Prev Next