The number equal to the sum of the cubes of its digits
Find a three-digit number that is equal to the sum of the cubes of its digits. (For example, 123 does not work, because 1 + 8 + 27 = 36.)
Then explain why such numbers, whatever the number of digits, can never have more than a handful of digits.
Show a hint
Start by cubing the digits: 0, 1, 8, 27, 64, 125, 216, 343, 512, 729. Three of them must add to a number between 100 and 999 whose own digits are the three you chose.
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion · reading is open to everyone
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
The number that equals the sum of the factorials of its digitsThe nine-digit number whose every prefix dividesThe two-digit number that is the square of its digit sumThe number that rotates when multipliedKaprekar's constant, 6174
All questions →