Maths Olympiad Prep

Library / MMO Round 4 /6 of 17

MMO Round 4

Algebra Difficulty 5.4 AIME, harder Prove it Mongolia

Let the sum of the elements of a set XX be denoted by S(X)S(X). How many ways can we divide the numbers 21,22,…,2102^1, 2^2, \dots, 2^{10} into sets AA and BB such that the equation
x2−S(A)x+S(B)=0 x^2 - S(A)x + S(B) = 0
has a positive integer solution? (The sets AA or BB may be empty.)
*To divide the numbers c1,c2,…,cnc_1, c_2, \dots, c_n into sets AA and BB means that AA and BB are disjoint sets and each of the numbers c1,c2,…,cnc_1, c_2, \dots, c_n must belong to exactly one of them.*

Solution

Answer: 2.
The numbers 21,22,…,2102^1, 2^2, \dots, 2^{10} can be used to produce only and all even numbers from 00 to 20462046. Thus, let S(A)=2nS(A) = 2n for some integer 0≤n≤10230 \le n \le 1023. Then S(B)=21+22+⋯+210−S(A)=2046−2nS(B) = 2^1+2^2+\dots+2^{10}-S(A) = 2046-2n. Moreover x2−S(A)x+S(B)=x2−2nx+(2046−2n)=0x^2-S(A)x+S(B) = x^2-2nx+(2046-2n) = 0 implies
23⋅89=2047=(n+1)2−(x−n)2=(2n+1−x)(x+1). 23 \cdot 89 = 2047 = (n+1)^2 - (x-n)^2 = (2n+1-x)(x+1).
The only positive integer solutions are x=22x = 22 and x=88x = 88 with n=55n = 55. Hence, there are exactly two ways to divide the numbers.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.