So, starting with my first daily note, the topic is Fermat's Little Theorem.
Topic: Number Theory
Fermat's Little Theorem states that
"For all natural numbers 'a' , \(a^{p} \equiv a \mod p\) , where 'p' is a prime number. "
Let us prove this out.
Consider the binomial expansion for the prime 'p',
(a+b)p=ap+(1p)ap−1b+(2p)ap−2b2+.......+bp.
But since, p∣(kp)∀k=1,2,3,.....p−1. So, (1p)ap−1b+(2p)ap−2b2+.......+(p−1p)abp−1=Multiple(p). This implies that, (a+b)p≡ap+bpmodp.
Generalizing this we get, (a1+a2+.....an)p≡a1p+a2p+........+anpmodp. By taking a1=a2=.....=an=1, we get np≡nmodp. That's it, we got the result.
Phewwwwwww!! We have proved it.
Fermat's Theorem is very useful in some problems based on Modular Arithmetic.
Now, if (a,p)=1,i.e. if a and p are coprime to each other, then ap−1≡1modp. This is known as Fermat's Little Theorem and it is a special case of Euler's Totient Theorem.
Now let us solve some problems.
Problem 1(introductory): Find the remainder when 371123 is divided by 17.
Solution: Observe that 37≡3mod17 and from Fermat's Theorem 3717≡37mod17. But 1123=66×17+1. So, 371123≡(3717)66×37≡3766×37≡3767≡(3717)3×3716 ≡373×3716≡3717×372≡37×372≡373≡33≡27≡10mod17.
So, 371123≡10mod17. This is can be even very easily using Fermat's littile theorem(Try Yourselves).
Problem 2: Find the remainder when 220+330+440+550+660 is divided by 7.
Solution: Observe that (2,7)=(3,7)=(4,7)=(5,7)=(6,7)=1. So, 220≡22mod7, 330≡1mod7, 440≡44≡4mod7, 550≡52≡4mod7 and 660≡1mod7. So, 220+330+440+550+660≡4+1+4+4+1≡0mod7.
So, 220+330+440+550+660≡0mod7.
So, I think that I have given a clear picture on Fermat's Theorem. So, stay tuned for upcoming DAILY NOTES.
#NumberTheory
#BinomialTheorem
#Theorem
#DailyPosts
#Fermat'sTheorem
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Another way to prove Fermat's Theorem by using reduced residue system !!
Given that : { r1,r2,...,rp−1 } is the reduced residue system of p
Because of (a,p)=1 so (a.ri,p)=1;(i=1,2,...,p−1)
So that : a.r1.a.r2...a.rp−1≡r1.r2...rp−1(modp)
⇒ap−1.r1.r2...rp−1≡r1.r2...rp−1(modp)
Thus,
ap−1≡1(modp)
The theorem is proved !!
Log in to reply
Nice work, bro. Upvoted ⌣¨.
Log in to reply
Tks, i have checked your profile, it very impress, proud to be a vietnamese :D
Log in to reply
That is how I've been doing it yet.
Is there anything that you can add to the Fermat's Little Theorem Wiki page?