Problem #PRU-100468

Problems Number Theory Arithmetic operations. Number identities

Problem

a) It seems that the young mathematician was making progress quite fast. On the back side of that piece of paper there are numbers with digits adding up to all natural numbers from 18 to 33. And yet all of them consist of only digits “4” and “7”. Make your own list of that kind.

(b) Is it true that any natural number greater than 17 can be equal to the digit sum of some number written with digits “4” and “7”?

(c) Now let’s try the same question for digits “5” and “8”. What values can you get if you consider the sum of the digits of a number written with the help of digits “5” and “8”?