Prime Divisibility Property: Proving p^2 divides a^p - b^p for Integers a and b

  • Context: Graduate 
  • Thread starter Thread starter math_grl
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the mathematical property that if a prime number p divides the difference a - b for integers a and b, then p^2 divides a^p - b^p. Participants explore various approaches to prove this property, including the use of the binomial theorem and Fermat's Little Theorem, while debating the necessity of p being prime and the implications for even primes.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant initially poses the problem and expresses uncertainty about its obviousness.
  • Another participant claims to have solved the problem using the binomial theorem and questions whether p must be prime.
  • A different participant provides a detailed expansion of a^p - b^p using the binomial theorem, arguing that all terms are divisible by p^2.
  • Some participants discuss the implications of p being odd versus even, with one suggesting that the argument may not hold for p = 2.
  • Fermat's Little Theorem is referenced, with participants debating its applicability and whether it implies the desired divisibility.
  • Concerns are raised about the validity of applying certain identities and the limitations of Fermat's theorem in relation to p^2.
  • Counterexamples are presented to challenge claims about binomial coefficients and divisibility.
  • Participants express confusion over the conditions under which the original problem holds, particularly regarding the nature of p.
  • One participant introduces a related problem involving modular arithmetic and seeks assistance from others.
  • Discussions also touch on the binomial expansion and its implications for divisibility by p^2.

Areas of Agreement / Disagreement

Participants do not reach a consensus on whether p must be prime or whether the property holds for any integer p ≥ 2. There are competing views regarding the applicability of Fermat's Little Theorem and the conditions under which the divisibility claims are valid.

Contextual Notes

Some participants note that the discussion may depend on the specific definitions of prime and composite numbers, as well as the assumptions made about the integers involved. There are unresolved questions about the validity of certain mathematical steps and the implications of using binomial coefficients.

  • #31
Landau said:
Ah, I missed that, sorry.

don't worry

anyway, I was thinking on a similar problem, to prove (or disprove) the statement:p^5 never divides a^p+b^p, that is, the contrary proplem (a superior limit), ohh, and gcd(a,p)=(b,p)=1
 
Physics news on Phys.org
  • #32
Another way to approach this whole thing depends upon using the Taylor Theorem, but in a very truncated form. I will give an example:

F(x) = 2^5 + x^5 == 0. Mod 5. In this case, x=3. It is very easy to move to the case Modulus=25, which has already been show, first by lpetnich, and then by me: Using the Taylor method we arrive at:

F(x+hp) = F(x) +hpF'(x) +(hp)^2(F''(x)) ++++ But in this case we don't even need the term (hp)^2(F''(x)).

BUT since F'(x) =5x^4, we already have arrive at the p^2 = 25 situation, and we are left with just F(3) = 2^5+3^5 ==0 Mod 25.

However to give this proof some legitimacy, let's look at raising the example to Modulus 5^3 = 125, and using only the form 5kF'(x).
F(x+hp) = F(x) + hpF'(x) \equiv 0 Mod 125.
hpF'(3) \equiv -(2^5+3^5) Mod 125
Since F'(3) =5*3^4, and dividing out 25 from the numerator, we have: h=\frac{-2^5-3^5}{25*81} = -11/81=-1 Mod 5,.

Thus h=-1 and 3+(-1)*5 = =-2==123 Mod 125.

Thus moving up in p as an exponent, we have: 2^{25}+123^{25} \equiv 0 Mod 125.

But since again we get the simplist case as before for Mod 25, the above case works for
2^{25}+123^{25}\equiv 0 Mod 625.

While it might look pulling a rabbit out of the hat, if we always raise by F(x)+h(p^k)F'(x) Modulus p^(k+1), which would have been the normal expectation for a higher power,we get always the simplist case; so that nothing is need but to raise the exponent:2+3==0 Mod5. 2^5+3^5 == 0 Mod 25, 2^25+3^25 ==0 Mod 125, 2^125+3^125 ==0 Mod 625, 2^625+3^625 ==0 Mod 3125.

Remember all these cases involve division by powers of p, they do not handle the case (a-b)^(p^k)==a^(p^k)-b^(p^k) Mod p^(k), as the first part of the Freshman's Dream indicates. The last part of the Freshman's Dream is nothing but a generalization of Fermat's Little Theorem. I thought I handled that by indicating proof by induction 1^p==1 Mod p, (k+1)^p ==k^p + 1 Mod p, because all middle terms in the binominal expansion contain p. Thus x^p==x Mod p for the multiplicative group mod p.
 
Last edited:
  • #33
Check me out page 2.

frowdow said:
This is a weird coincidence since i was trying to solve a similar problem which is:

Prove that if a ^ p + b ^p = 0 (mod p) then a ^ p + b ^p = 0 (mod p ^ 2)

The logic is exactly similar i guess except that p as to be odd & greater than 2. Can somebody please look into & give me clues to solving the problem i posted a couple of days back with the subject line similar to "reduced residues" involving the Euler phi function? I would really appreciate it.

Thanks in advance,
--
Sachin
 

Similar threads

Replies
48
Views
5K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
901
  • · Replies 9 ·
Replies
9
Views
2K
Replies
5
Views
2K
Replies
17
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K