Euler's Theorem is a key concept in number theory, named after the Swiss mathematician Leonhard Euler. It states that if a is any integer that is coprime with a positive integer m, then:
This means that raising a to the power of ϕ(m) (Euler’s Totient Function) will always leave a remainder of 1 when divided by m.
Interestingly, Fermat’s Little Theorem is just a special case of Euler’s Theorem. When m is a prime number p, ϕ(p) = p - 1, so Euler’s Theorem becomes Fermat’s Theorem.
Euler’s Theorem connects modular arithmetic and number theory, and it's especially useful in solving problems with large powers and in fields like cryptography.
Statement of Euler's Theorem: if a and n are coprime positive integers, then it can be used as a formula for further calculations, i.e.,
aϕ(n) ≡ 1 (mod n)
Where,
- a: Any integer
- n: A positive integer
- mod n represents congruence modulo n
- ≡ denotes equivalence,
- ϕ(n): Euler’s totient function, which counts how many numbers less than n are coprime to n
Proof of Euler's Theorem
Let φ(n) = k, and let {a1, . . . , ak} be a reduced residue system mod n.
For some ai in {a1, . . . , ak}
Since (a, n) = 1, {aa1, . . . , aak} is another reduced residue system mod n.
Since this is the same set of numbers mod n as the original system, the two systems must have the same product mod n:
(aa1)· · ·(aak) = a1 · · · ak (mod n)
⇒ ak (a1 · · · ak) = a1 · · · ak (mod n)
Now each ai is invertible mod n, so multiplying both sides by a1−1 · · · ak−1 , We get
ak = 1 (mod n)
or aφ(n) = 1 (mod n).
Example Showing Euler's Theorem Formula
Problem: Verify Euler's Theorem for a = 3 and n = 8.
Solution:
First, we calculate ϕ(8). The numbers less than 8 that are coprime to 8 are 1, 3, 5, and 7. Thus, ϕ(8) = 4.
Next, calculate 34 and find its remainder when divided by 8
34 = 81
Now, find 81 mod 8
81 mod 8 ≡ 1
Thus, 34 ≡ 1 (mod 8), which verifies Euler's Theorem.
Euler's Totient Function
Formally, for a positive integer n, ϕ(n) is defined as follows:
ϕ(n) = count of integers 1 ≤ a <n such that gcd (a,n) = 1
Where:
- GCD(a, n) denotes the greatest common divisor of a and n.
- ϕ(n) represents the totient function of n.
Fermat's vs Euler's Theorems
Euler's Theorem is a generalization of Fermat's Theorem. Here are the key differences between Fermat's and Euler's Theorems:
| Fermat's Little Theorem | Euler's Theorem |
|---|
| Applicable when p is prime | Applicable for any positive integer n and a relatively prime to n |
| If p is prime and a is not divisible by p, then ap−1 ≡ 1 (mod p) | If n is a positive integer and a is relatively prime to n, then aϕ(n) ≡ 1 (mod n) |
| The converse is not always true. | The converse is true: If aϕ(n) ≡ 1 (mod n), then a and n are coprime. |
| Requires the modulus p to be prime | Does not require the modulus to be prime |
| Less general, restricted to prime moduli | More generally, applicable to any positive integer modulus |
Applications of Euler's Theorem
Euler's Theorem has many applications in a wide range of areas, such as mathematics and even elsewhere. Here are some notable applications:
RSA Encryption: Euler's theorem is foundational in modern cryptography, particularly in the RSA encryption algorithm. RSA utilizes Euler's theorem in the process of encryption and decryption. In RSA, the public and private keys are generated in such a way that they are inverses of each other modulo φ(n), where n is the product of two large prime numbers.
Problem Solving in Number Theory: Euler's theorem is a powerful tool in solving number theory problems involving divisibility, remainders, and the properties of numbers in different number systems.
Primality Testing: Euler's theorem is used in primality testing algorithms, such as the Fermat primality test. While this test is not infallible (it can give false positives for Carmichael numbers), it offers a quick way to check for non-prime numbers. If for some a coprime with φ(n) ≡ 1 (mod n), then n is not prime.
Mathematical Proofs: Euler's theorem is a general case for proofs enabling modular arithmetic, divisibility tests, and number theory identities, and it provides clear and convincing mathematical arguments that are the foundation of rigorous mathematical analysis.
Also Check:
Solved Questions on Euler’s Theorem
Question 1: Find the remainder when 3100 is divided by 7.
Solution:
Since 7 is a prime number, ϕ(7) = 7−1 = 6.
According to Euler's Theorem,
36 ≡ 1 (mod 7).
Now, 3100 can be rewritten as 36×16+4.
Modular exponentiation:
3100 ≡ (36)16 × 34 ≡ 116 × 81 ≡ 4 (mod 7).
So, when 3100 is divided by 7, the remainder is 4.
Question 2: Find the remainder when 720 is divided by 21.
Solution:
Since 21 can be factored into 3 × 7, the GCD of 7 and 21 is 7, which is not 1, they are not coprime.
We have ϕ(21) = ϕ(3) ϕ(7)
ϕ(3) = 3 - 1 = 2
ϕ(7) = 7 - 1 = 6
ϕ(21) = ϕ(3) ϕ(7) = 2×6 = 12
According to Euler's Theorem,
712 ≡ 7 (mod 21).
Now, 720 can be expressed as 712×1+8.
Modular exponentiation:
720 ≡ (712)1 × 78 ≡ 1 × 78 ≡ 7 (mod 21)
78 = (74)2 ≡ 72 ≡ 7 mod 21
Thus,
720 ≡ 7 mod 21
So, when 720 is divided by 21, the remainder is 7.
Practice Questions on Euler's Theorem
Question 1: Find the remainder when 250 is divided by 11.
Question 2: Calculate the remainder when 5100 is divided by 17.
Question 3: Determine the remainder when 375 is divided by 13.
Question 4: Find the remainder when 440 is divided by 9.
Question 5: Find the remainder when 1025 is divided by 8.
Explore
Basic Arithmetic
Algebra
Geometry
Trigonometry & Vector Algebra
Calculus
Probability and Statistics
Practice