In this problem, simply return 1 if a supplied number is Munchhausen narcissistic or 0 if not.
153 is narcissistic but not a Munchhausen number
NOTE: the convention is that 0^0=0
Wikipedia link: https://en.wikipedia.org/wiki/Munchausen_number
test cases 5 and 7 seem to not be Narcissistic (https://oeis.org/A005188), but they are still marked as true.
http://oeis.org/A046253 and https://en.wikipedia.org/wiki/Munchausen_number
The Tower of Hanoi
Number of digits in an integer
05 - Vector Equations 2
Produce a sine wave
Magic Concentric Circles
Strange Number Algorithms
Tony's trick for duplicating an mx1 vector n times
provide the numerical answer to these number questions...
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office