We seek three-digit numbers N=100a+10b+c with a∈{1,…,9},b,c∈{0,…,9},a+b+c=15,212≤N≤999.For a fixed a let s=15−a, so b+c=s.The number of nonnegative solutions (b,c) with 0≤b,c≤9 equals{s+1,19−s,0≤s≤9,10≤s≤18.
Now list s=15−a for a=1,…,9:
s=14,13,12,11,10,9,8,7,6,
so the counts for each a are
19−14,19−13,19−12,19−11,19−10,9,9,8,7=5,6,7,8,9,10,9,8,7.
Hence the total number of three-digit integers with digit sum 15 is
5+6+7+8+9+10+9+8+7=69.
We must exclude those <212. Such numbers can only have a=1 or a=2.
For a=1 there are 5 numbers (the case s=14); for a=2 the required
b+c=13 has no solution with 0≤b≤1 (since c would exceed 9).
So there are 5 numbers <212 with digit sum 15.
Therefore the count in the interval 212≤N≤999 is
69−5=64.
64