Re:Munchausen Numbers and How to Find Them
by AnimalMuppet on Wednesday September 21, 2016 @05:31PM
(#12552440)
Well, 9^9 = 387,420,489. So a ten-digit Munchausen number that had enough nines in it could be as big as 3,874,204,890. So going to 500,000,000 isn't quite enough. You can stop at 4 billion, though...
I'm sure there could be some clever tricks to make it run faster, but this is probably good enough, given that there are, I think, only two such numbers.