Base of number base

There is a number a a , which can be written as x y z \overline{xyz} in base 9 and z y x \overline{zyx} in base 6, for some positive integer x , y , z x,y,z . Find x + y + z x+y+z .

Details and Assumption

x y z \overline{xyz} represents reading the digits together, instead of multiplying them out. For example, x y z 9 = 81 x + 9 y + z \overline{xyz}_9 = 81 x + 9y + z and z y x 6 = 36 z + 6 y + x \overline{zyx}_6 = 36 z + 6y + x .


The answer is 12.

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.

3 solutions

Narciso Jaramillo
Dec 22, 2016

81 x + 9 y + z = 36 z + 6 y + x 80 x + 3 y = 35 z 35 ( 80 x + 3 y ) 5 ( 80 x + 3 y ) 81x + 9y + z = 36z + 6y + x\\ \Rightarrow 80x + 3y = 35z\\ \Rightarrow 35 | (80x + 3y)\\ \Rightarrow 5 | (80x + 3y)

(where a b a | b means that b b is divisible by a a ).

Since 5 80 x 5 | 80x , it must be the case that 5 3 y 5 | 3y , so 5 y 5 | y . Since 0 y 9 0 \leq y \leq 9 , we have y = 0 y = 0 or y = 5 y = 5 .

If y = 0 y = 0 :

35 80 x 7 80 x 7 x x = 7 35 | 80x\\ \Rightarrow 7 | 80x\\ \Rightarrow 7 | x\\ \Rightarrow x = 7

But this would mean z = 16 z = 16 , which is impossible since it must be a single digit.

If y = 5 y = 5 :

35 ( 80 x + 15 ) 7 ( 80 x + 15 ) 80 x + 15 = 0 ( m o d 7 ) 80 ( m o d 7 ) x + 15 ( m o d 7 ) = 0 3 x + 1 = 0 ( m o d 7 ) x = 2 35 | (80x + 15)\\ \Rightarrow 7 | (80x + 15)\\ \Rightarrow 80x + 15 = 0 \pmod{7}\\ \Rightarrow 80 \pmod{7} \cdot x + 15 \pmod{7} = 0\\ \Rightarrow 3x + 1 = 0 \pmod{7}\\ \Rightarrow x = 2

Substituting into either of the original equations gives us z = 5 z = 5 , and indeed we can verify that 25 5 9 = 55 2 6 255_9 = 552_6 . Hence x + y + z = 12 x + y + z = 12 .

'for some positive integer x,y,z'.Actually,y can't be 0

X X - 3 years, 1 month ago
Steven Santos
Feb 7, 2016

81x+9y+z=36z+6y+x . and since these numbers are used in the base 6 number and the base 9 number, 0<= x,y,z <= 5 . 80x+3y-35z=0 . x cant be zero because that would make xyz a two digit number. and z cant be zero because zyx would be a two digit number. if x=1, 80+3y-35z=0 . 3y=35z-80 . since 3y>=0, 35z>=80 . so z>=3 and 35z-80>=25 . but then 3y>=25 so y>=9 but y has to be less than or equal to 5, so that doesnt work, therefore x isnt equal to 1 . if x=2, 160+3y-35z=0 . 3y=35z-160 . again, since 3y>=0, 35z>=160 . so z>= 5. The only z that works which is greater than or equal to 5 is 5 itself, since each digit had to be between 0 and 5 inclusive. this means that z=5 . so 3y=35*5-160 . 3y=175-160 . 3y=15 . y=5 . therefore if x=2, y=5, and z=5 . you can try the rest for when x=3,4, and 5 and see they don't work. so the answer is 2+5+5=12 .

Eziz Hudaykulyyev
Jan 22, 2016

81x+9y+1z=36z+6y+1x

80x+3y=35z

X=3 Y=5 Z=5

why is bar on x yand z

Rishabh Deep Singh - 5 years, 4 months ago

Log in to reply

The bar represents a 3-digit number here. I have also rephrased the question for you please check it now if you still face some problem related to the topic please see this or feel free to ask me.

Department 8 - 5 years, 4 months ago

Log in to reply

Thanks it is helpful

Rishabh Deep Singh - 5 years, 4 months ago

I do not know also

Eziz Hudaykulyyev - 5 years, 4 months ago

Log in to reply

how do you write 81x+9y+1z=36z+6y+1x ???????

Rishabh Deep Singh - 5 years, 4 months ago

Log in to reply

@Rishabh Deep Singh 9^2x+9^1y+9^0z=6^2z+6^1y+6^0x

Eziz Hudaykulyyev - 5 years, 4 months ago

Did you just start keeping values for fun or actually solved it using algebraic method?

Department 8 - 5 years, 4 months ago

Log in to reply

there are no methods in maths its just your brain which develops so called methods

Gaurav Chahar - 5 years, 1 month ago

The smalest base is 6 so 0<=x,yz<=5. Since 80x and 35z are multiples of 5, 3y must be a multiple of 5 so y=5 and we have 16x+3=7z. Same way 16x+3 must be a multiple of 7 so 16x=3 (mod7) or 2x=3 (mod7) which give us x=2. 32+3=7z so z=5. Resume: x=2; y=5; z=5; x+y+z=12

damien G - 5 years, 2 months ago

There's also 0. Because 0 = 0

M K - 4 years, 12 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...