A number theory problem by Shrenik Jobanputra

A base 7 three-digit number has its digits reversed when written in base 9. Find the decimal representation of the number.


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.

3 solutions

Saket Sharma
Sep 20, 2014

Let the number be pqr in base 7. It is given it becomes rqp in base 9.

Thus, 49 p + 7 q + r = 81 r + 9 q + p 49p + 7q + r = 81r + 9q + p

This gives 8 ( 3 p 5 r ) = q 8(3p - 5r) = q

Now as q < 7 (as pqr is a number in base 7), only possibility is q = 0. q = 0.

Thus, 3 p = 5 r 3p = 5r . This gives, p = 5 p = 5 and r = 3 r = 3 .

Hence, number is 503 in base 7, 305 in base 9, and 248 in base 10.

Kenny Lau
Jul 23, 2015

We have: a b c 7 = c b a 9 \overline{abc}_7=\overline{cba}_9

Using the positional notation : a × 7 2 + b × 7 + c = c × 9 2 + b × 9 + a a\times7^2+b\times7+c=c\times9^2+b\times9+a

Rearraing: 48 a = 80 c + 2 b 48a=80c+2b

Since a a , b b , c c form a number in base 7 7 , they must be between 0 0 and 6 6 inclusive.

We will conduct a trial-and-error approach on 48 a 48a .

  • 48 × 1 = 48 = 80 × 0 + 2 × 24 48\times1=48=80\times0+2\times24\color{#D61F06}✘
  • 48 × 2 = 96 = 80 × 1 + 2 × 8 48\times2=96=80\times1+2\times8\color{#D61F06}✘
  • 48 × 3 = 144 = 80 × 1 + 2 × 32 48\times3=144=80\times1+2\times32\color{#D61F06}✘
  • 48 × 4 = 192 = 80 × 2 + 2 × 16 48\times4=192=80\times2+2\times16\color{#D61F06}✘
  • 48 × 5 = 240 = 80 × 3 + 2 × 0 48\times5=240=80\times3+2\times0\color{#20A900}✓
  • 48 × 6 = 288 = 80 × 3 + 2 × 24 48\times6=288=80\times3+2\times24\color{#D61F06}✘

Therefore, a = 5 a=5 , b = 0 b=0 , and c = 3 c=3 .

Therefore, the number is 50 3 7 = 30 5 9 = 24 8 10 503_7=305_9=248_{10} .

Jake Lai
Jun 24, 2014

This is just my method, and not by any means a rigorous proof.

Let the digits be a , b , a, b, and c c such that 49 a + 7 b + c = a + 9 b + 81 c 49a+7b+c = a+9b+81c . After simplifying, the equation becomes 24 a = b + 40 c 24a = b+40c .

Since a b c abc exists as a base 7 three digit number, we know that 1 a 6 1≤a≤6 , implying that b + 40 c 144 b+40c ≤ 144 . Therefore, 1 c 3 1≤c≤3 , which further implies that 24 a 126 24a ≤ 126 , meaning 1 a 5 1≤a≤5 .

After narrowing it down, I solved by trial and error, finding that the only solution to 24 a = b + 40 c 24a = b+40c was a = 5 a=5 and c = 3 c=3 .

Solving for b b , I got a b c = 50 3 7 abc = 503_{7} . Converting to base 10, the answer is 248 \boxed{248} .

Why cant 155 satisfy it? 281 base 7=182 base 9

Adarsh Shetty - 6 years, 4 months ago

Log in to reply

How can you use 8 in a base 7 number??

Vaibhav Kandwal - 6 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...