first of all by formumla n(n+1)/2 1-100 sum is 5050. then all 6 are replaced by 9 .that means for series like +0-9 10-19 and so on everytime 3 is added to the normal total(5050)... such case is valid in 9 such series( excluding 60-69).( for now leave the 90-100 series) so to 5050 add 9*3 27. now add 91-99 which comes to 948( keep in mind to replace 96 by 99) so the final answer is
hi frds..the ans is 1+2+3+4+5+6+7+8+9+10 55+3 58;11+12+13+14+15+16+17+`8+19+20 155+3 158.'''''''''''''''''''''and so on..........58+158+258+358+458+588+958+758+858+958 5410...ans 5410