Narcissistic number

ID: narcissistic-number

A Narcissistic number, also known as a pluperfect digital invariant (PDI), is a number that is equal to the sum of its own digits each raised to the power of the number of digits. In simpler terms, for a number \( n \), it can be expressed as: \[ n = d_1^p + d_2^p + d_3^p + ... + d_k^p \] where \( d_1, d_2, ...

New to topics? Read the docs here!