Find the units digit of ## 3^{100} ## by the use of Fermat's theorem

Math100
Messages
813
Reaction score
229
Homework Statement
Find the units digit of ## 3^{100} ## by the use of Fermat's theorem.
Relevant Equations
None.
Consider modulo ## 10 ##.
Then ## 10=5\cdot 2 ##.
Applying the Fermat's theorem produces: ## 3^{4}\equiv 1\pmod {5} ##.
This means ## (3^{4})^{25}=3^{100}\equiv 1\pmod {5} ##.
Observe that ## 3\equiv 1\pmod {2}\implies 3^{100}\equiv 1\pmod {2} ##.
Now we have ## 5\mid (3^{100}-1) ## and ## 2\mid (3^{100}-1) ##.
Thus ## (5\cdot 2)\mid (3^{100}-1)\implies 3^{100}\equiv 1\pmod {10} ##.
Therefore, the units digit of ## 3^{100} ## is ## 1 ##.
 
Physics news on Phys.org
Well written!
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top