Base what?

Suzie McTube decided to invent a unique number system. It's not base 2. It's not base 3, or even base 4, 5, 6 or 7... But it's a combination of all the bases!

It works like this: The first digit (farthest on the right, or "unit's digit") is base 2. The second digit (again from the right) is base 3. The third is base 4 etc. So, for example, the first few numbers are:

1 , 10 , 11 , 20 , 21 , 100 , 101 , 110 , 1, 10, 11, 20, 21, 100, 101, 110, \ldots

So, if 21 is the 5 th 5^\text{th} number (as shown above), what is the 9 9 th 99^\text{th} number? (99 is in base 10 or decimal)


Inspired by : Ujjwal Rane .


The answer is 4011.

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

Geoff Pilling
Aug 30, 2016

In general, if the digits (from right to left) are given by x 1 x_1 , x 2 x_2 , x 3 x_3 , x 4 x_4 , ...

Then, the value of a number is, n ! x n \sum{n!x_n}

99 = 4 4 ! + 0 3 ! + 1 2 ! + 1 1 ! 99 = 4*4! + 0*3! + 1*2! + 1*1!

So the 99 t h 99th number is 4011 \boxed{4011}

@Geoff Pilling Beautiful problem! And thank you for that kind note about inspiration. These numbers are also very handy in programming. I create logic board games for fun and these numbers make very compact code and efficient algorithms. Used them extensively in my work too.

Ujjwal Rane - 4 years, 9 months ago

Log in to reply

Woo hoo... Thanks, Ujjwal... And, I see you solved it! Its always cool when someone finally solves a problem... Until then, I'm never quite sure if I made a mistake in the question... Anyway, nicely done! :0)

Geoff Pilling - 4 years, 9 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...