Self number
In number theory, a self number in a given number base b is a natural number that cannot be written as the sum of any other natural number n and the individual digits of n .[src] 20 is a self number (in base 10), because no such combination can be found (all n give a result less than 20; all other n give a result greater than 20).[src] 21 is not, because it can be written as 15 + 1 + 5 using n = 15.[src] These numbers were first described in 1959 by the Indian mathematician D.[src] R.[src] Kaprekar.[src]
In number theory, a self number in a given number base b is a natural number that cannot be written as the sum of any other natural number n and the individual digits of n .[src] 20 is a self number (in base 10), because no such combination can be found (all n give a result less than 20; all other n give a result greater than 20).[src] 21 is not, because it can be written as 15 + 1 + 5 using n = 15.[src] These numbers were first described in 1959 by the Indian mathematician D.[src] R.[src] Kaprekar.[src] ==Definition and properties== Let n be a natural number.[src] We define the b -self function F_b : \mathbb{N} \rightarrow \mathbb{N} for base b > 1 to be the following: F_{b}(n) = n + \sum_{i=0}^{k - 1} d_i.[src] where k = \lfloor \log_{b}{n} \rfloor + 1 is the number of digits in the number in base b , and d_i = \frac{n \bmod{b^{i+1}} - n \bmod b^i}{b^i} is the value of each digit of the number.[src] A natural number n is a b -self number if the preimage of n for F_b is the empty set.[src] In general, for even bases, all odd numbers below the base number are self numbers, since any number below such an odd number would have to also be a 1-digit number which when added to its digit would result in an even number.[src] For odd bases, all odd numbers are self numbers.[src] The set of self numbers in a given base b is infinite and has a positive asymptotic density: when b is odd, this density is 1/2.[src] ==References== Kaprekar, D.[src] R.[src] The Mathematics of New Self-Numbers Devaiali (1963): 19 - 20.[src]
22 sentences · 22 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Self number." encyclopegia.org, 2025, https://encyclopegia.org/wiki/self-number. Accessed 28 November 2026.
Chicago
"Self number." encyclopegia.org. Accessed November 28, 2026. https://encyclopegia.org/wiki/self-number.
APA
encyclopegia.org. (2025). Self number. Retrieved November 28, 2026, from https://encyclopegia.org/wiki/self-number
Accessed November 28, 2026 · CC BY-SA 4.0 · citation page · JSON