futb0l said:
i seem to have another proof, every odd perfect square when divided by 8 has a remainder of 1... and noting that if an odd integer is squared the answer is always odd.
and with the exception of 1,11, every positive integer whose all digits are 1 have a remainder of 7. But 11 is clearly not a perfect square.
I think this should be enough proof..
but please explain Matt Grime's proof, because I'd like to learn.
This is a perfectly good proof, as long as you show how these statements are true. They are true, no doubt...but I would imagine that you would have to show, for instance that odd perfect squares leave residues of 1 when divided by 8. You might also have to prove that 11...1 always leaves a remainder of 7 when divided by 8.
The first is proved as follows :
N=(2k+1), say, some odd integer.
N^2 = 4k^2 + 4k + 1 = 4k(k+1) + 1
Since k and k+1 are consecutive numbers, one of them must be even. So their product must also be an even number. So k(k+1) = 2m, say.
Then N^2 = 4*2m + 1 = 8m + 1.
This last equation tells you that N^2, when divided by 8, gives a remainder of 1.
To prove that 11...1 leaves a remainder of 7, do the following :
i. Write this as the sum of powers of 10, as in post#8
ii. What happens when you divide 1000 by 8 ? And higher powers of 10 ?
iii. This argument leaves you with having to find the remainder for only 111, which is 7 (all other numbers of the form 11...1 have the same remainder as 111).
Now you are really done.
For a 15 year old, your math skills are far removed from "pretty crap."