Munchausen Numbers
\(4^4 + 3^3 + 8^8 + 5^5+7^7+9^9+0^0+8^8+8^8 = 438,579,088\)
438,579,088 and a 4 digit number are the only 2 numbers with this property. (0 and 1 are trivial)
Can you write a program to find it?
These are called Münchhausen numbers. A Münchhausen number (sometimes spelled Münchausen number, with a single 'h') is a number equal to the sum of its digits raised to each digit's power.
Note: Here, the definition of \(0^0=0\) is adopted. If that is not accepted then that four digit number and 1 are the only numbers with this property.
Hint: \(3*5*229\)