Complicated divisibility problem

  • Thread starter Thread starter ripcity4545
  • Start date Start date
  • Tags Tags
    Divisibility
ripcity4545
Messages
16
Reaction score
0

Homework Statement



If 5 divides m^2 + n^2 + p^2 , prove that 5 divides wither m, or n, or p.

Homework Equations



m,n,p are all integers

The Attempt at a Solution



I am having some major problems with this chapter on modular arithmetic. any help is much appreciated!

modular arithmetic is not needed to solve the problem, but may be helpful.
 
Last edited:
Physics news on Phys.org
What possible values can m^2 have mod 5?
 
Tedjn said:
What possible values can m^2 have mod 5?

Well if we are considering divisibility by 5, i can let
m=5k+r, where k is some integer and r may be 0, 1, 2, 3, or 4.

So m^2 = 25k^2 + 10kr +r^2
so
m^2 ≡ n mod 5 equals:

25k^2 + 10kr +r^2 ≡ n mod 5
and since 25k^2 + 10kr ≡ 0 mod 5, we are left with
r^2 ≡ n mod 5

so n may be 1, 4, or 0. Am I going in the right direction? Thanks for the reply.
 
That's correct. So what can m^2 + n^2 + p^2 be if none are congruent to 0 mod 5?
 
thanks for your help.
 
Last edited:
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top