Self numbers and self primes

In 1949 the Indian mathematician D.R. Kaprekar discovered a class of numbers called self-numbers. A number N is said to be a self number if it cannot be written as m + the sum of digits of m for any m. To find out if a given number is a self number, the idea is […]