0 votes 0 votes The number of integers between 1 and 1000 inclusive have a sum of digits equal to 10 is_______ iita asked Jan 24, 2017 iita 1.3k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 2 votes 2 votes The number of solutions to a + b + c = 10 in non-negative integers is 12 * 11 / 2 = 66. From this list we must exclude the solutions in which one of the variables is 10. There are three such solutions, so 63 solutions remain. Tendua answered Jan 24, 2017 • selected Jan 25, 2017 by Sushant Gokhale Tendua comment Share Follow See all 13 Comments See all 13 13 Comments reply Show 10 previous comments Prajwal Bhat commented Jan 25, 2017 reply Follow Share My question was, here we just need to consider even 2 digits (Eg: 9+1=10 ) to till 9 digits (1+1+1.....+2=10) all those cases also should be considered right ? Correct me if i'm wrong! 0 votes 0 votes Tendua commented Jan 25, 2017 reply Follow Share Can't get what you asking but question say to only consider till 1000 so why will I take 5 digits into consideration and I have placed a box for every place place, for unit place for one for 10's place and ones for 1000 place, 1000 does not sum up to 10 so we have to consider the possibility till 0-999 0 votes 0 votes Prajwal Bhat commented Jan 25, 2017 reply Follow Share Yes got it i misunderstood the question now got cleared. Thanks 0 votes 0 votes Please log in or register to add a comment.