Answer:
A 6 digit number can be written as:
abcdef
Where each letter represents a single digit.
We know that this number is smaller than 600,000, and we also know that:
a + b + c + d + e + f = 38
Now, we have a lot of variables, so we can play a little.
I will suppose that:
f = 6
e = 7
d = 3
c = 9
then we have:
a + b + 9 + 3 + 7 + 6 = 38
a´+ b + 25 = 38
a + b = 38 - 25 = 13
now let's suppose that b = 8
a + 8 = 13
a = 13 - 8 = 5
Then our number is:
589,376
This number is smaller than 600,000, and if we add the sum of the digits is 38.
Now we want to find 11 other numbers like this.
We can simply change the places of some of the digits, like:
598,376 (also meets the condition)
Where i just changed the positions of the 9 and the 8.
589,367 (also meets te condition)
Where i just changed the position of the 6 and 7.
Now just keep doing that, only take care that the number can not be larger than 600,000, so i will leave the first 5 fixed in that position.
589,673 (also meets the condition)
598,736 (also meets the conditions)
536,798 (also meets the conditions)
536,897 (also meets the conditions)
536,978 (also meets the conditions)
563,798 (also meets the conditions)
563,987 (also meets the conditions)
563,879 (also meets the conditions)
573,689 (also meets the conditions)
573,869 (also meets the conditions)