Combinatoricshard
0:00.0

A specialized vault has a keypad with digits {0,1,2,3,4,5,6,7,8,9}\{0, 1, 2, 3, 4, 5, 6, 7, 8, 9\}. A security code of length 6 must be generated such that the sum of the digits is exactly 10 and each digit must be at least 1. How many such codes exist?