Monday, 13 August 2012

A 10 digit number

Consider a 10-digit number A written as a_0a_1a_2...a_9. Now, suppose a_0 is the number of times the digit '0' appears in A; a_1 is the number of times '1' appears in A, and so on... a_9 is the number of times '9' appears. What is A?