QlarIITy

MathematicsJEE Main 2024 · 29 JanuaryInteger

Let the setC={(x,y)∣x2−2y=2023,x,y∈N}C = \left\{(x, y) \mid x^2 - 2^y = 2023, x, y \in \mathbb{N}\right\}. Then ∑(x,y)∈C(x+y)\sum_{(x, y) \in C}(x + y) is equal to ______.

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

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 2k+12k + 1, and

(2k+1)2=4k(k+1)+1(2k + 1)^2 = 4k(k + 1) + 1

where k(k+1)k(k + 1) is even, so an odd square leaves remainder 1 on division by 8. A power 2y2^y leaves remainder 2, 4 or 0 on division by 8 according as yy 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.

  1. Step 1: Remainders

    Since x2=2023+2yx^2 = 2023 + 2^y is odd, xx is odd and x2x^2 leaves remainder 1 on division by 8. As 2023=8×252+72023 = 8 \times 252 + 7, the power 2y2^y must leave remainder 2, which happens only for y=1y = 1.

  2. Step 2: The pair

    With y=1y = 1, x2=2025=452x^2 = 2025 = 45^2, so x=45x = 45. The set has the single pair (45,1)(45, 1), and the required sum is 45+1=4645 + 1 = 46.

Answer. 46

Sanity check. Check: 452−21=2025−2=202345^2 - 2^1 = 2025 - 2 = 2023. For y=2y = 2 the number 20272027 lies between 452=202545^2 = 2025 and 462=211646^2 = 2116, so it is not a square, in line with the remainder argument.

Common wrong answers

  • 45: Reporting xx alone gives 45; the sum is taken over x+yx + y, and y=1y = 1 adds one more.
  • 47: Taking y=2y = 2 with x=45x = 45 gives 47; then x2−2y=2021x^2 - 2^y = 2021, 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.

More on Integer Solutions of Equations