Count the predecessors

Number Theory Level pending

Imagine that I have a 10-digit number.

The first digit is the number of times 0 has occurred in the number, the 2nd digit is the number of times 1 has occurred in the number....the 10th digit is the number of times 9 occurs in the number.

You have to find the number.

Source: Finally-the source of the problem is a bit ambiguous, but I believe it is from an Indonesian Math and Coding Contest.

6410001000 6310001000 6510001000 6210001000 6310009087

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

Tom Engelsman
Jan 17, 2021

The first digit is a 6 6 in all of the given choices, which means the number has six zeros \Rightarrow Choice E is eliminated.

The second digit is the total number of 1 s 1's that appear in the number. Of the remaining four choices, A thru D, only Choice D satisfies this condition.

The last digit is the total number of 9 s 9's that appear in the number. Again, Choice D satisfies this condition as well.

Hence, the number is 6 , 210 , 001 , 000 . \boxed{6,210,001,000}.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...