Description (from Rosetta Code)
| A Munchausen number is a natural number n the sum of whose digits (in base 10), each raised to the power of itself, equals n.
(Munchausen is also spelled: Münchhausen.)
For instance: 3435 = 33 + 44 + 33 + 55
Find all Munchausen numbers between 1 and 5000
In bases other than 10
The program requires a small change:
Showing the Munchausen numbers between 1 and 100,000 from bases 2 to 100: