Short Setup; Copious Constraints

A number N N has three digits when expressed in base 7, say, N = x y z 7 . N=\overline{xyz}_7.
When N N is expressed in base 9, the digits are reversed: N = z y x 9 . N=\overline{zyx}_9.

Find N N (in base 10).


The answer is 248.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Julian Yu
Aug 24, 2016

Relevant wiki: Number Base - Problem Solving

Let x x , y y and z z denote the first, second and third digits of N N in base 9 so that:

81 x + 9 y + z = 49 z + 7 y + x 81x+9y+z=49z+7y+x or y = 8 ( 3 z 5 x ) y=8(3z-5x) .

Since 0 y < 7 0\le y<7 (it appears as a digit in base 7), the integer n = 3 z 5 x n=3z-5x is zero (otherwise 8n would be greater than 7).

Hence y y , the middle digit, is zero. Moreover, 0 < z < 7 0<z<7 (since N has three digits in base 7); and since 3 z = 5 x 3z = 5x , we have z = 5 z=5 and x = 3 x=3 .

Therefore, we have N = 305 9 = 503 7 = 248 10 N={ 305 }_{ 9 }={ 503 }_{ 7 }={ \boxed { 248 } }_{ 10 } .

i think answer is wrong it should be like 81z+9y+x=49x+7y+z

ajith gade - 4 years, 9 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...