matt grime
Science Advisor
Homework Helper
- 9,361
- 6
You're missing out 6m+4, but the point is if you were to put any of those numbers into the formula k^3+5k you get a number divisible by 6. He's just doing the "unclever" way of solving the problem, that is to say he's doing modulo arithmetic without telling you he's doing modulo arithmetic.
Every given any number n and another number p we can express n=pq+r where q and r are integers 0<=r<p and q is then uniquely determined. That is just kindergarten mathematics (which is far more mathematically mature than knowing how to write out decimals if you ask me) where r is the remainder after dividing by p.
All he is now claiming is that whatever the remainder is after dividing by 6 (ie what class it is in modulo r) we get something divisible by 6, eg
if k=6m+1
k^3+5k= (6m+1)^3+5(6m+1) = (6m^3) +3(6m)^2+4(6m)+1+5(6m)+5
obvisouly anyting with a 6m in it is divisible by 6 so that just leaves 1+5 part, which is also divisible by 6.
Hopefully you see that if I expand (6m+r)^3 i get something divisible by 6 plus r^3, and the 5k=30m+5r, so I just need to show that r^3+5r is divisible by 6 for r from 0 to 5.
Every given any number n and another number p we can express n=pq+r where q and r are integers 0<=r<p and q is then uniquely determined. That is just kindergarten mathematics (which is far more mathematically mature than knowing how to write out decimals if you ask me) where r is the remainder after dividing by p.
All he is now claiming is that whatever the remainder is after dividing by 6 (ie what class it is in modulo r) we get something divisible by 6, eg
if k=6m+1
k^3+5k= (6m+1)^3+5(6m+1) = (6m^3) +3(6m)^2+4(6m)+1+5(6m)+5
obvisouly anyting with a 6m in it is divisible by 6 so that just leaves 1+5 part, which is also divisible by 6.
Hopefully you see that if I expand (6m+r)^3 i get something divisible by 6 plus r^3, and the 5k=30m+5r, so I just need to show that r^3+5r is divisible by 6 for r from 0 to 5.