How many positive integers less than 10,000 are there in which the sum of the digits equals 5?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The total combinations of 4-digit no. to give 5 are:
0,0,0,5; 0,0,2,3; 1,1,1,2; 0,0,1,4; 0,1,1,3
Therefore total ways are : 4!/3! + 4!/2! + 4!/3! + 4!/2! + 4!/2!
= 4+12+4+12+12 = 56