You have a billion numbers from 000,000,000 to 999,999,999. These are all the possible combinations of digits 0 to 9 at each position (units, tens, hundreds, thousands, tens of thousands etc... to hundreds of millions).
You have 100,000,000 numbers starting with a 0.
100,000,000 starting with a 1.
etc...
100,000,000 starting with a 9.
Since 0+1+2+3+4+5+6+7+8+9=45, this means the sum of all first digits is 45 x 100,000,000 = 4,500,000,000.
Similarly you will find that the sum of alll second digits (tens of millions) is also 4.5 billion. Same for third digits, etc... and for ninth digits(units).
So the sum of all digits from 0 to 999,999,999 is 9 times 45 billion = 40,500,000,000.
You need to add 1 for the number 1,000,000,000, so the answer is 40.5 billion + 1 = 40,500,000,001.
2006-11-17 01:06:29
·
answer #1
·
answered by Anonymous
·
0⤊
0⤋
Look up triangular numbers. find the formular, digits for 1, for 2, ...
for n for n+1, check your definition you forgot 11 ==> 2
Total 11= 1+2+3+4+5+6+7+8+9+1+2
total 12= 1+2+3+4+5+6+7+8+9+1+2+3
T1=1
T2=1+2
Tn=x
Tn+1 =x + Sn+1
2006-11-17 07:35:30
·
answer #2
·
answered by mathman241 6
·
0⤊
0⤋