I am unsure as to how to go about this problem. Any tips in helping me solve this would be greatly appreciated! I understand that I am to use combinations with repetition to solve such.
The question is asking: How many pins have digit sum 20? (a PIN is string a b c d of 4 decimal digits).
Using the combination with repetition formula I got 23C3 = 1771 ways (sorry I am new to stackexchange and don't know how to format)
Now I want to solve:
How many of the solutions to $a+b+c+d = 20$ have one of the 'digits' equal to $15$?
How many of the solutions to $a+b+c+d = 20$ have one or two of the 'digits' equal to $10$?
Thanks in advance!