Hello, Pinsky!

What idiot assigned this problem?

My younger brother got an assignment and asked me for help.

all the four-digit numbers whose sum of all digits lies on the interval <12,16>.Find

It's hardly a problem to solve it numerically, but does anybody know an analytical solution?

This is a truly stupid problem atlevel of mathematics!any

It does not ask "how many" . . . it says.Find

. . It wants aof the numbers!list

For a digital sum of 12, there areover 300such numbers.

Does the teacher want to see all of them?