Olympiad Maths Prep

Track / Stage 5 / 127 of 400 #727 of 2000

Problem 727

AIME late
Number theory Difficulty 5.3 Find the answer

2. Determine the four-digit number xyzt\overline{x y z t} whose sum of digits is 17, if all digits are different and satisfy the equations

2x=yz and y=t2 2 x=y-z \quad \text { and } \quad y=t^{2}

Official solution

Solution. Since y9y \leq 9 and y=t2y=t^{2}, we get t3t \leq 3.

For t=0t=0, we get t=0=yt=0=y, which is not possible, and for t=1t=1, we get t=1=yt=1=y, which is also not possible.

Let t=2t=2; then y=4y=4, so from 2x=yz2 x=y-z we get 2x=4z2 x=4-z. From here it is clear that zz is an even number less than 4. The following cases are possible:

1z=01^{\circ} z=0, but then x=2=tx=2=t

2z=22^{\circ} z=2, this is not possible because ztz \neq t.

3z=43^{\circ} z=4, but then x=0x=0, so the number is not a four-digit number.

Thus, it is not possible for t=2t=2.

Let t=3t=3. Then y=9y=9, so from 2x=yz2 x=y-z, we get 2x=9z2 x=9-z. From here it is clear that zz is an odd number. The following cases are possible:

1z=1,x=4,xyzt=49131^{\circ} z=1, x=4, \overline{x y z t}=4913 and the sum of the digits is 17;

2z=3,x=32^{\circ} z=3, x=3 which is not possible;

3z=5,x=2,xyzt=29533^{\circ} z=5, x=2, \overline{x y z t}=2953, but the sum of the digits is 19;
4z=7,x=1,xyzt=19734^{\circ} z=7, x=1, \overline{x y z t}=1973, but the sum of the digits is 20;

5z=9,x=05^{\circ} z=9, x=0, which is not possible because according to the condition of the problem xyzt\overline{x y z t} is a four-digit number.

Thus, the only solution is xyzt=4913\overline{x y z t}=4913.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.