Tuesday, April 24, 2007

#5

There is a 10 digit number, the digit 'n' in position 'p' tells the number of digits of p in that number. What is that number?

Answer:

    position -> 0123456789
    number -> 6210001000
    6 is the number of 0s; 2 is the number of 1s; 1 is the number of 2s and 6s

No comments: