In
number theory
Number theory is a branch of pure mathematics devoted primarily to the study of the integers and arithmetic functions. Number theorists study prime numbers as well as the properties of mathematical objects constructed from integers (for example ...
, a narcissistic number
[''Perfect and PluPerfect Digital Invariants''](_blank)
by Scott Moore (also known as a pluperfect digital invariant (PPDI), an Armstrong number (after Michael F. Armstrong) or a plus perfect number)
in a given
number base is a number that is the sum of its own digits each raised to the power of the number of digits.
Definition
Let
be a natural number. We define the narcissistic function for base
to be the following:
:
where
is the number of digits in the number in base
, and
:
is the value of each digit of the number. A natural number
is a narcissistic number if it is a
fixed point for
, which occurs if
. The natural numbers
are trivial narcissistic numbers for all
, all other narcissistic numbers are nontrivial narcissistic numbers.
For example, the number 153 in base
is a narcissistic number, because
and
.
A natural number
is a sociable narcissistic number if it is a
periodic point
In mathematics, in the study of iterated functions and dynamical systems, a periodic point of a function (mathematics), function is a point which the system returns to after a certain number of function iterations or a certain amount of time.
It ...
for
, where
for a positive
integer
An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
(here
is the
th
iterate
Iteration is the repetition of a process in order to generate a (possibly unbounded) sequence of outcomes. Each repetition of the process is a single iteration, and the outcome of each iteration is then the starting point of the next iteration.
...
of
), and forms a
cycle of period
. A narcissistic number is a sociable narcissistic number with
, and an amicable narcissistic number is a sociable narcissistic number with
.
All natural numbers
are
preperiodic points for
, regardless of the base. This is because for any given digit count
, the minimum possible value of
is
, the maximum possible value of
is
, and the narcissistic function value is
. Thus, any narcissistic number must satisfy the inequality
. Multiplying all sides by
, we get
, or equivalently,
. Since
, this means that there will be a maximum value
where
, because of the
exponential
Exponential may refer to any of several mathematical topics related to exponentiation, including:
* Exponential function, also:
**Matrix exponential, the matrix analogue to the above
*Exponential decay, decrease at a rate proportional to value
* Ex ...
nature of
and the
linearity
In mathematics, the term ''linear'' is used in two distinct senses for two different properties:
* linearity of a '' function'' (or '' mapping'');
* linearity of a '' polynomial''.
An example of a linear function is the function defined by f(x) ...
of
. Beyond this value
,
always. Thus, there are a finite number of narcissistic numbers, and any natural number is guaranteed to reach a periodic point or a fixed point less than
, making it a preperiodic point. Setting
equal to 10 shows that the largest narcissistic number in base 10 must be less than
.
The number of iterations
needed for
to reach a fixed point is the narcissistic function's
persistence
Persistence or Persist may refer to:
Math and computers
* Image persistence, in LCD monitors
* Persistence (computer science), the characteristic of data that outlives the execution of the program that created it
* Persistence of a number, a ma ...
of
, and undefined if it never reaches a fixed point.
A base
has at least one two-digit narcissistic number
if and only if
In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either bo ...
is not prime, and the number of two-digit narcissistic numbers in base
equals
, where
is the number of positive divisors of
.
Every base
that is not a multiple of nine has at least one three-digit narcissistic number. The bases that do not are
:2, 72, 90, 108, 153, 270, 423, 450, 531, 558, 630, 648, 738, 1044, 1098, 1125, 1224, 1242, 1287, 1440, 1503, 1566, 1611, 1620, 1800, 1935, ...
There are only 88 narcissistic numbers in base 10, of which the largest is
:115,132,219,018,763,992,565,095,597,973,971,522,401
with 39 digits.
Narcissistic numbers and cycles of ''F''''b'' for specific ''b''
All numbers are represented in base
. '#' is the length of each known finite sequence.
Extension to negative integers
Narcissistic numbers can be extended to the negative integers by use of a
signed-digit representation
In mathematical notation for numbers, a signed-digit representation is a positional numeral system with a set of signed digits used to encode the integers.
Signed-digit representation can be used to accomplish fast addition of integers becau ...
to represent each integer.
See also
*
Arithmetic dynamics
Arithmetic dynamics is a field that amalgamates two areas of mathematics, dynamical systems and number theory. Part of the inspiration comes from complex dynamics, the study of the Iterated function, iteration of self-maps of the complex plane or o ...
*
Dudeney number
In number theory, a Dudeney number in a given number base b is a natural number equal to the perfect cube of another natural number such that the digit sum of the first natural number is equal to the second. The name derives from Henry Dudeney, ...
*
Factorion
*
Happy number
In number theory, a happy number is a number which eventually reaches 1 when the number is replaced by the sum of the square of each digit. For instance, 13 is a happy number because 1^2+3^2=10, and 1^2+0^2=1. On the other hand, 4 is not a happy ...
*
Kaprekar's constant
In number theory, Kaprekar's routine is an iterative algorithm named after its inventor, Indian mathematician D. R. Kaprekar. Each iteration starts with a four-digit random number, sorts the digits into descending and ascending order, and calculate ...
*
Kaprekar number
In mathematics, a natural number in a given number base is a p-Kaprekar number if the representation of its square in that base can be split into two parts, where the second part has p digits, that add up to the original number. For example, in ...
*
Meertens number
*
Perfect digit-to-digit invariant
In number theory, a perfect digit-to-digit invariant (PDDI; also known as a Munchausen number) is a natural number in a given number base b that is equal to the sum of its digits each raised to the power of itself. An example in base 10 is 3435, b ...
*
Perfect digital invariant
In number theory, a perfect digital invariant (PDI) is a number in a given number base (b) that is the sum of its own digits each raised to a given power (p). 0 F_ : \mathbb \rightarrow \mathbb is defined as:
:F_(n) = \sum_^ d_i^p.
where k = \lfl ...
*
Sum-product number
A sum-product number in a given number base b is a natural number that is equal to the product of the sum of its digits and the product of its digits.
There are a finite number of sum-product numbers in any given base b. In base 10, there are ...
References
*
Joseph S. Madachy, ''Mathematics on Vacation'', Thomas Nelson & Sons Ltd. 1966, pages 163-175.
* Rose, Colin (2005), ''Radical narcissistic numbers'', Journal of Recreational Mathematics, 33(4), 2004–2005, pages 250-254.
''Perfect Digital Invariants''by Walter Schneider
External links
Armstrong NumbersArmstrong Numbers in base 2 to 16*
{{Classes of natural numbers
Arithmetic dynamics
Base-dependent integer sequences