Ad
  • Default User Avatar

    Hi,
    You need to determine if the sum of the digits is a perfect number. To do this, cut out the value then iterate over it.
    Calculate the sum of the digits raised to the requested power. You get a number that is or is not a narcissistic number (or a plus perfect number).