A positive number is called a coconut if the logarithm of to the base 10 is in the interval .
Moreover, a natural number
is called
crunchy
if it suffices the following condition
,where
is an operator which tells the sum of digits of the number
.
What is the sum of all numbers that are both crunchy and coconuts' ?
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 characteristic of the logarithm of n to the base 10 is 2, the number n has to be in between 100 and 999. So it is a 3 digit number.
We represent the 3 digit number as 100 a + 10 b + c where a,b,c are the digits of the number.
Hence SOD(n) = a + b + c
Now, SOD(n + 3) has two cases. If 0 <= c <= 6, then the SOD(n +3) = a + b + c + 3.
If 7 <= c <= 10, then the SOD(n + 3) = a + (b + 1) + (c - 7) = a + b + c - 6. The tens digit is incremented by 1 and the units digit is 0, 1 or 2 depending on whether c is 7, 8 or 9.
Now consider the equation SOD(3 + n) = SOD(n) / 3.
Case 1: 0 <= c <= 6
a + b + c + 3 = (a + b + c)/3 . Solving we get (a + b + c) = -4.5 which is not possible.
Case 2: 7 <= c <= 9
a + b + c - 6 = (a + b + c)/3. Solving we get (a + b + c) = 9.
We know that the value of c can only be 7, 8 or 9. If the value of c is 9, then a and b have to be 0 which means it is not a 3 digit number. If the value is 8, the only possible value of n is 108. If the value is 7, the two possible values of n are 117 and 207.
Adding 108, 117 and 207 we get 432. Hence the answer is 432.