GCD of a and b Prime and Odd: 1 or p?

  • Level: Graduate 
  • Thread starter Thread starter elimqiu
  • Start date Start date
  • Tags Tags
    Gcd Prime
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 3K views
elimqiu
Messages
11
Reaction score
0
Show that if [itex]a,b\in\mathbb{N}^+,\ \gcd(a,b) = 1[/itex] and [itex]p[/itex] is an odd prime,
then [itex]\gcd\left(a+b,\frac{a^p+b^p}{a+b}\right)\in \{1,p\}[/itex]
 
Physics news on Phys.org
Suppose [itex]1\le d \mid \gcd(a+b,\frac{a^p+b^p}{a+b})[/itex], then we have the following

[itex]1\le d \mid a+b\implies b \equiv -a\ (\text{mod }d)\implies \sum_{k=0}^{p-1}(-1)^k a^{p-1-k}b^k \equiv pa^{p-1}(\text{mod }d)[/itex]

[itex]\frac{a^p+b^p}{a+b} \equiv pa^{p-1}(\text{mod }d)[/itex]. Now since [itex]\gcd(d,a)=1[/itex], this means that [itex]d \mid p[/itex]