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.
9980 Solvers
Create a cell array out of a struct
531 Solvers
Project Euler: Problem 3, Largest prime factor
400 Solvers
Arrange vector in ascending order
627 Solvers
Relative ratio of "1" in binary number
415 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!