Difference between revisions of "Number Theory Problems and Results"
m (→Results) |
(→Results) |
||
Line 12: | Line 12: | ||
<cmath>(p-1)! \equiv -1 \pmod p</cmath> | <cmath>(p-1)! \equiv -1 \pmod p</cmath> | ||
+ | |||
+ | '''Example:''' | ||
+ | |||
+ | For any prime number <math>p</math>, we have | ||
+ | |||
+ | <cmath>2p \choose p \equiv 2 \pmod p</cmath> | ||
+ | |||
+ | ''Proof:'' | ||
+ | |||
+ | <cmath>2p \choose p = \frac{(p+1) \cdot (p+2) \cdot \dots \cdot 2p}{p!}</cmath> | ||
+ | |||
+ | <cmath>=\frac{2 \cdot (p+1) \cdot (p+2) \cdot \dots \cdot (2p-1)}{(p-1)!}</cmath> | ||
+ | |||
Format's Little Theorem: | Format's Little Theorem: | ||
Line 17: | Line 30: | ||
<cmath>a^{p-1} \equiv 1 \pmod p</cmath> | <cmath>a^{p-1} \equiv 1 \pmod p</cmath> | ||
+ | |||
+ | |||
+ | Euler's (Totient) Theorem | ||
+ | For relatively prime numbers <math>m</math> and <math>a</math>, we have | ||
+ | |||
+ | <cmath>a^{\phi (m)} \equiv 1 \pmod m</cmath> | ||
==Problems== | ==Problems== |
Revision as of 21:02, 30 December 2024
This is a page where you can learn about number theory and its applications. There are important results and practice problems.
Contents
Introduction
Results
Here includes some important results for number theory.
Wilson's Theorem: For a prime number , we have
Example:
For any prime number , we have
Proof:
Format's Little Theorem:
For a prime number and integer that does not divide, we have
Euler's (Totient) Theorem
For relatively prime numbers and , we have
Problems
1. Suppose
Find the remainder when is divided by 1000.
Solution
Solution 1 to Problem 1(Euler's Totient Theorem)
We first simplify
so
.
where the last step of all 3 congruences hold by the Euler's Totient Theorem. Hence,
Now, you can bash through solving linear congruences, but there is a smarter way. Notice that , and . Hence, , so . With this in mind, we proceed with finding .
Notice that and that . Therefore, we obtain the system of congruences :
.
Solving yields , and we're done. ~Ddk001