# Near-narcissistic number

Logic Level 2

Define $$F$$ as a five-digit positive integer with distinct digits such that the cube of the sum of its digits equals to $$F$$ itself. Find $$F$$.

Details and Assumptions:

• No, this is not a Computer Science problem.

Bonus: Find the other solution if the digits may not be distinct.

×