|
||||||||||||
|
||||||||||||
| ||||||||||||
Andrew, I don't know if it is intuition or just experience. One the one hand, mathematics is often much more of an art than it is anything else. On the other hand, after enough practice looking at problems of a certain type, one develops a feeling for what kinds of arguments might lead to solutions. If p is prime and divides both (a2 - a.b + b2) and (a2 + a.b + b2), then (a2 - a.b + b2) == (a2 + a.b + b2) (mod p). Therefore, 2ab == 0 (mod p),from which it follows that p|a, or p|b, or p=2. Pushing this a little further, if p is an odd prime and p | a and also p | (a2 - a.b + b2), then p|b. Thus there are no solutions with (a,b,p)=1 when p is an odd prime. When p = 2, a similar analysis shows that a and b must also b even. Hence there are no solutions of the type you want. In a similar way, the second case leads to a2 - ca == b2 - cb (mod p), which leads to: Good luck!
Andrew, Although you didn't ask, here are some thoughts on your problem. This is off the top of my head. If it isn't correct, maybe you can correct it. The prime p will divide ap - 1 + ap - 2 + ap - 3 + .... + a + 1 if and only if a is congruent to 1 (mod p). Here is how to see that. If p divides a, then the sum is clearly congruent to 1 (mod p) since all but one term is zero (mod p). If a is congruent to 1 mod p, then the sum is p == 0 (mod p). Otherwise, there is a two step argument. First, ap - 2 + ap - 3 + .... + a + 1 = (ap-1-1) / (a-1). Since a isn't congruent to 1 (mod p), a-1 isn't congruent to 0 (mod p), and so p divides (ap-1-1) / (a-1) if and only if it divides ap-1 -1. The latter statement is exactly Fermat's (Little) Theorem. Therefore, your original sum ap-1 + ap-2 + ap-3 + .... + a + 1 == ap-1 + 0 == 1 (mod p), again using Fermat's Theorem. When the signs alternate, the sum is congruent to 0 (mod p) if and only if 1 + a2 + a4 + ... + ap-1 == a + a3 + ... + ap-1 (mod p). This is not true if a is congruent to 0 (mod p). Otherwise, suppose for a moment that a2 is not congruent to 1 (mod p). Then the LHS is [(a2)(p+1)/2 - 1] / (a2 -1) = [ap+1 - 1] / (a2 - 1) and similarly the RHS is a[ap - 1] / (a2 - 1). Since a2 - 1 is not zero (mod p), these two quantities are congruent if and only if ap+1 - 1 == ap - a (mod p). But, by Fermat's Theorem ap - a == 0 (mod p) and ap+1 - 1 == a2 - 1 (mod p). By assumption, this quantity is not zero (modulo p). Thus the only time one could hope that 1 + a2 + a4 + ... + ap-1 == a + a3 + ... + ap-1 (mod p) is when a2 == 1 (mod p). In that case, the LHS is 1 (mod p) and the RHS is (p-1)/2. The only prime p for which 1 == (p-1)/2 (mod p) is p=3. In summary, when the signs alternate, the sum is congruent to 0 (mod p) if and only if p=3 and p does not divide a (which means that a2 == 1 (mod p)). Best of luck.
Andrew, Yes, you did read what was written correctly. You should carefully check the argument because it was done off the top of my head and may not be correct. If it is wrong, then perhaps there are enough decent ideas to lead you to your own solution. Good luck! | ||||||||||||
|
||||||||||||
Math Central is supported by the University of Regina and The Pacific Institute for the Mathematical Sciences. |