) If an integer is simultaneously a square and a cube,
prove that it is either of the form 7k or 7k +1.
Answers
If an integer is simultaneously a square and a cube, it will be sixth power of some integer and so it can be written in the form
Let,
so that assuming
Then we get,
but should not be for every
We need to find possible values of for such that
We need to put values for ranging from 0 to 6 and to check.
Let Then,
Let Then,
Let Then,
Let Then,
Let Then,
Using (1),
Let Then,
Since we can see
Let Then,
Using (1) and (2),
From each case we get,
so that can only be written in the form or for every and for some
Hence Proved!
Explanation:-
If n is both a square and a cube, it is a perfect 6-th power.
Let z be a number. Then z has shape 7k, or 7k+1, or 7k+2, and so on up to 7k+6.
Then z^6 has shape (respectively) 7k, 7k+1, 7k+1, 7k+1, 7k+1, 7k+1, and 7k+1.
To do the calculations, let us take the example z of the shape 7k+2.
Imagine expanding (7k+2)^6 using the Binomial Theorem. The first 6 terms are obviously divisible by 7, and the last term is 2^6=64. This has remainder 1 on division by 7. So (7k+2)^6 has remainder 1 on division by 7, and therefore has shape 7t+1.
The other calculations are very similar.