Define as a five-digit positive integer with distinct digits such that the cube of the sum of its digits equals to itself. Find .
Details and Assumptions :
Bonus : Find the other solution if the digits may not be distinct.
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 F is a 5 digit number with all its digits distinct, the maximum value of the digit sum of F can be ( 9 + 8 + 7 + 6 + 5 ) = 3 5 .
Since F is the cube of its digit sum, the maximum value that F can achieve is 3 5 3 = 4 2 8 7 5 . So, our upper bound is 4 2 8 7 5 which is obtained by the maximum possible digit sum.
Now, since F is a 5 digit number as well as a perfect cube of an integer, the smallest value that F can achieve is 2 2 3 = 1 0 6 4 8 because this is the smallest 5 digit perfect cube. So, the lower bound of the digit sum is 2 2 and the lowest number is 1 0 6 4 8 .
Now, we are left with finding F such that the digit sum of F lies between 2 2 and 3 5 inclusive and is equal to the cube of the digit sum. Now, we also know that F lies between 1 0 6 4 8 and 4 2 8 7 5 inclusive.
Checking these 1 4 cases, we can easily obtain F = 1 9 6 8 3 when the digit sum is 2 7 .
Bonus: The other solution is 1 7 5 7 6 with digit sum 2 6 .