Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I'm trying to solve this little problem. So far no luck. Could anyone help? Thanks in advance :)

What is the ten digit number such that the i-th digit is the number of i's in the number ( 0<= i <= 9) (the 0th position is number of zeros in the number, the 1st position is number of ones in the number,…)?

share|improve this question
3  
6210001000 works. –  Raskolnikov May 17 '11 at 17:50
2  
    
thank you very much. –  Ondrej Sotolar May 17 '11 at 17:56

1 Answer 1

Here is one solution: $$6210001000$$ $$(0123456789)$$

share|improve this answer
    
I think the problem wants it the other way around. –  Listing May 17 '11 at 18:03
    
It looks like the request was in the opposite order, 6210001000, which avoids leading zeros. –  Ross Millikan May 17 '11 at 18:04
    
Sloan (oeis.org/A108551) claims this solution is unique. Is there an easy way to see this? –  Nate Eldredge May 17 '11 at 19:08
    
A more general version of this question came up recently. Put 6210001000 in the search box to see it. –  Robert Soupe Jun 28 at 16:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.