How many natural numbers (1, 2, 3, etc.) is exactly three times the sum of the digits?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Since the required number n is equal to three times its sum of digits, n must be a multiple of 3 . As single-digit n is equal to its sum of digits, there is no solution, when n is single-digit.
For two-digit n , let it be 1 0 a + b , where a ≥ 1 and b ≥ 0 are single-digit integers. Then, 1 0 a + b = 3 ( a + b ) ⟹ 7 a = 2 b . Since 2 and 7 are primes, there is only one solution, that is a = 2 and b = 7 .
For three-digit n , the smallest possible n or multiple of 3 is 1 0 2 . But the largest possible sum of digits is 9 + 9 + 9 = 2 7 and three times it is 8 1 , which is less than 1 0 2 . Therefore there is no solution for three-digit n . Same argument for four or more digit n . Hence we have only 1 solution.