There is a formula for this calculation.
I think it is an AP(Atithmetic Progression)
AP Formula is:
1+2+3+............+n= n(n+1)/2
so according to your problem the ans is
1+2+3+..........=4444=
4444(4445)/2= 9876790
I dont know i am correct or not.
but for all examples this formula works
please reply me if it is correct or not.
I am sorry i wronlgy understood the question.
What chetnas said was correct.
I was wrong. Please dont mistake me.
The above solution i gave was a wrong method and a wrong answer.
But what fo the numbers in 3 digits, 2 digits and 1 digit.
for eg: 123, 134,111, 12, 14,23, etc.
whether we should not calculate that for this one. reply me