Question

Write a function to return first n narcissistic numbers?

Login to Submit

Examples

A narcissistic number is a number when the digits are raised to the number of digits and added together the result is the same number.

153 is a narcissistic number because 1^3 + 5^3 + 3^3 = 153

The power 3 is the number of digits. There are 3 digits in the number 153.