Let the set. Then is equal to ______.
Solution
Core idea. Remainders on division by a small number can reduce an equation in natural numbers to one case.
Concept refresher. Every odd number is , and
where is even, so an odd square leaves remainder 1 on division by 8. A power leaves remainder 2, 4 or 0 on division by 8 according as is 1, 2 or at least 3.
Picture the situation. The pairs are lattice points with natural coordinates on a curve, and nothing bounds the search directly. Remainders on division by 8 do the work: squares of odd numbers always leave the same remainder, while powers of 2 leave a remainder that depends on the exponent. Matching the remainders leaves a single exponent to try.
Approach. Compare remainders on division by 8 to fix the exponent, then solve for the other number.
Step 1: Remainders
Since is odd, is odd and leaves remainder 1 on division by 8. As , the power must leave remainder 2, which happens only for .
Step 2: The pair
With , , so . The set has the single pair , and the required sum is .
Answer. 46
Sanity check. Check: . For the number lies between and , so it is not a square, in line with the remainder argument.
Common wrong answers
- 45: Reporting alone gives 45; the sum is taken over , and adds one more.
- 47: Taking with gives 47; then , not 2023.
Key takeaway
The trap. The quantity asked is the sum of both coordinates of every pair in the set.
How toppers think. They test an equation with a square in it against the remainders 0, 1 and 4 of squares on division by 8.
Remember. An odd square leaves remainder 1 on division by 8.