# Digit Sum Invariant

Probability Level 5

Find the number of integers between 1 and $10^6$ such that the sum of their digits is equal to 12.

×