MHB Solving for $X$: Find $X$ When $X=Y^2$

  • Thread starter Thread starter Albert1
  • Start date Start date
Albert1
Messages
1,221
Reaction score
0
$X=\overline{abcdef}$ is a 6-digit number,

$Y=\overline{def}$ is a 3-digit number,

if $X=Y^2$ find $X$
 
Last edited:
Mathematics news on Phys.org
Albert said:
$X=\overline{abcdef}$ is a 6-digit number,

$Y=\overline{def}$ is a 3-digit number,

if $X=Y^2$ find $X$

let $X = 1000m + Y$
we have $X = Y^2$ or $Y^2-Y= 1000m$ or $Y(Y-1) = 1000m = (125a)(8b)$ where $m = ab$
now $Y,Y-1$ are co-primes so one of them has to be 125a and another 8b and a and b are coprimes or one of them is 1
a has to be odd ( else 125 cannot be coprime to 8b) and < 8 as $Y < 1000$
so we get
$Y=125a, Y-1 = 8b$ trying a = 1,3,5,7 we get $Y= 625, Y-1 = 624 = 8 * 78$
or
$Y=8b, Y-1 = 125a$ we get $Y = 376$
so there are 2 values of X $ 376^2 = 141376$ and $625^2=390625$
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Back
Top