Show that ## p ## divides ## 2^{(p-1)/2}-1 ##

  • Thread starter Thread starter Math100
  • Start date Start date
AI Thread Summary
The discussion proves that if a prime number p is congruent to 7 modulo 8, then p divides \(2^{(p-1)/2} - 1\). Using Euler's criterion, it is established that \( (2|p) \equiv 2^{(p-1)/2} \pmod{p} \), leading to the conclusion that \(2^{(p-1)/2} - 1 \equiv 0 \pmod{p}\). The thread further analyzes specific cases, showing that \(2^{75} - 1\) and \(2^{155} - 1\) are composite, as their corresponding primes fit the form \(p = 8k + 7\). The proof is confirmed to be correct without any identified mistakes. This establishes a clear relationship between the prime condition and the divisibility of the expressions.
Math100
Messages
813
Reaction score
229
Homework Statement
If ## p\equiv 7\pmod {8} ##, where ## p ## is prime, show that ## p ## divides ## 2^{(p-1)/2}-1 ##. Deduce that ## 2^{75}-1 ## and ## 2^{155}-1 ## are composite.
Relevant Equations
Euler's criterion. Let ## p ## be an odd prime. Then for all ## n ## we have ## (n|p)\equiv n^{(p-1)/2}\pmod {p} ##.
Proof:

Suppose ## p\equiv 7\pmod {8} ##.
By Euler's criterion, we have that ## (2|p)\equiv 2^{(p-1)/2}\pmod {p} ##.
Note that ## (2|p)=(-1)^{\frac{p^2-1}{8}} ## if ## p ## is an odd prime.
Thus, ## 2 ## is a quadratic residue of all primes ## p\equiv \pm1\pmod {8} ##, so ## (2|p)=1 ##.
This implies ## 2^{(p-1)/2}-1\equiv 0\pmod {p} ##.
Therefore, ## p\mid (2^{(p-1)/2}-1) ## if ## p\equiv 7\pmod {8} ## where ## p ## is prime.
Now we consider ## 2^{75}-1 ## and ## 2^{155}-1 ##.
Observe that
\begin{align*}
&75=\frac{p-1}{2}\implies p=151=7+18\cdot 8\\
&155=\frac{p-1}{2}\implies p=311=7+38\cdot 8.\\
\end{align*}
Thus, we have deduced that ## 75 ## and ## 155 ## are of the form ## p=8k+7 ## for some ## k\in\mathbb{Z} ##.
Therefore, ## 2^{75}-1 ## and ## 2^{155}-1 ## are composite.
 
Physics news on Phys.org
Looks good. I couldn't find any mistakes.
 
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