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
Back to basics 9 - Indexed References
Multiply 2 numbers
What's Your BMI?
Create numeric palindromes and their square roots
provide the numerical answer to these number questions...
is the number happy?
Convert a Cell Array into an Array
Convert vector datasets to plot with imagesc instead of scatter
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