Jump to content
Wikipedia The Free Encyclopedia

Self number

From Wikipedia, the free encyclopedia
Type of natural number

In number theory, a self number in a given number base b {\displaystyle b} {\displaystyle b} is a natural number that cannot be written as the sum of any other natural number n {\displaystyle n} {\displaystyle n} and the individual digits of n {\displaystyle n} {\displaystyle n}. 20 is a self number (in base 10), because no such combination can be found (all n < 15 {\displaystyle n<15} {\displaystyle n<15} give a result less than 20; all other n {\displaystyle n} {\displaystyle n} give a result greater than 20). 21 is not, because it can be written as 15 + 1 + 5 using n = 15. These numbers were first described in 1959 by the Indian mathematician D. R. Kaprekar.[1]

Definition and properties

[edit ]

Let n {\displaystyle n} {\displaystyle n} be a natural number. We define the b {\displaystyle b} {\displaystyle b}-self function F b : N N {\displaystyle F_{b}:\mathbb {N} \rightarrow \mathbb {N} } {\displaystyle F_{b}:\mathbb {N} \rightarrow \mathbb {N} } for base b > 1 {\displaystyle b>1} {\displaystyle b>1} to be the following:

F b ( n ) = n + i = 0 k 1 d i . {\displaystyle F_{b}(n)=n+\sum _{i=0}^{k-1}d_{i}.} {\displaystyle F_{b}(n)=n+\sum _{i=0}^{k-1}d_{i}.}

where k = log b n + 1 {\displaystyle k=\lfloor \log _{b}{n}\rfloor +1} {\displaystyle k=\lfloor \log _{b}{n}\rfloor +1} is the number of digits in the number in base b {\displaystyle b} {\displaystyle b}, and

d i = n mod b i + 1 n mod b i b i {\displaystyle d_{i}={\frac {n{\bmod {b^{i+1}}}-n{\bmod {b}}^{i}}{b^{i}}}} {\displaystyle d_{i}={\frac {n{\bmod {b^{i+1}}}-n{\bmod {b}}^{i}}{b^{i}}}}

is the value of each digit of the number. A natural number n {\displaystyle n} {\displaystyle n} is a b {\displaystyle b} {\displaystyle b}-self number if the preimage of n {\displaystyle n} {\displaystyle n} for F b {\displaystyle F_{b}} {\displaystyle F_{b}} is the empty set.

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. For odd bases, all odd numbers are self numbers.[2]

The set of self numbers in a given base b {\displaystyle b} {\displaystyle b} is infinite and has a positive asymptotic density: when b {\displaystyle b} {\displaystyle b} is odd, this density is 1/2.[3]

Self numbers in specific bases

[edit ]

For base 2 self numbers, see (sequence A010061 in the OEIS). (written in base 10)

The first few base 10 self numbers are:

1, 3, 5, 7, 9, 20, 31, 42, 53, 64, 75, 86, 97, 108, 110, 121, 132, 143, 154, 165, 176, 187, 198, 209, 211, 222, 233, 244, 255, 266, 277, 288, 299, 310, 312, 323, 334, 345, 356, 367, 378, 389, 400, 411, 413, 424, 435, 446, 457, 468, 479, 490, ... (sequence A003052 in the OEIS)

Self primes

[edit ]

A self prime is a self number that is prime.

The first few self primes in base 10 are

3, 5, 7, 31, 53, 97, 211, 233, 277, 367, 389, 457, 479, 547, 569, 613, 659, 727, 839, 883, 929, 1021, 1087, 1109, 1223, 1289, 1447, 1559, 1627, 1693, 1783, 1873, ... (sequence A006378 in the OEIS)

References

[edit ]
  1. ^ (sequence A003052 in the OEIS)
  2. ^ Sándor & Crstici (2004) p.384
  3. ^ Sándor & Crstici (2004) p.385
Prime number classes
By formula
By integer sequence
By property
Base-dependent
Patterns
k-tuples
By size
Complex numbers
Composite numbers
Related topics
First 60 primes
Classes of natural numbers
×ばつ_2b_±_1276">Of the form a × 2b ± 1
Other polynomial numbers
Recursively defined numbers
Possessing a specific set of other numbers
Expressible via specific sums
2-dimensional
centered
non-centered
3-dimensional
centered
non-centered
pyramidal
4-dimensional
non-centered
Combinatorial numbers
Divisor functions
Prime omega functions
Euler's totient function
Aliquot sequences
Primorial
Numeral system-dependent numbers
Arithmetic functions
and dynamics
Digit sum
Digit product
Coding-related
Other
P-adic numbers-related
Digit-composition related
Digit-permutation related
Divisor-related
Other
Generated via a sieve
Sorting related
Graphemics related

AltStyle によって変換されたページ (->オリジナル) /