Find integers such that for any number is a square of an integer.
Solution
Answer: For example , , , .
For and we look for a number such that and are squares, say and respectively. Then we have , which is Pell's equation.
Consider two consecutive solutions of this Pell's equation: and . Take and , which gives us , .
Now it's enough to observe that is a square, which is easy to count. What is more (and unnecessary in this problem) we could have taken any two consecutive solutions of this Pell's equation.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.