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
I thought from the title you were to determine if a number was both Munchhausen and Narcissistic. After wrestling a bit, I realized the test cases were based on being Munchhausen alone. Hopefully this comment saves someone else some time. As far as I can determine, the title is incorrect, and should be "Is this number Munchhausen?"
The problem is just requesting for Munchhausen numbers. The title is misleading.
How to find the position of an element in a vector without using the find function
vectorization in N
Back to basics 19 - character types
Is A the inverse of B?
Sophie Germain prime
Magic Concentric Circles
provide the numerical answer to these number questions...
Create numeric palindromes and their square roots
is the number happy?
Strange Number Algorithms
Find the treasures in MATLAB Central and discover how the community can help you!
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