Wardrobe code

Lucia has a lock on her wardrobe that opens with a 4-digit code (such as 0000, 0089, or 9123).
Lucia forgot her code. But she knows that the sum of all four digits of her code is 4. How many such codes are there?

Correct answer:

n =  34

Step-by-step explanation:




Did you find an error or inaccuracy? Feel free to write us. Thank you!







Tips for related online calculators
Our percentage calculator will help you quickly calculate various typical tasks with percentages.
See also our permutations calculator.
See also our variations calculator.
Would you like to compute the count of combinations?

Related math problems and questions: