In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a
natural number
In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ...
in a given
number base is a
-Kaprekar number if the representation of its square in that base can be split into two parts, where the second part has
digits, that add up to the original number. For example, in
base 10
The decimal numeral system (also called the base-ten positional numeral system and denary or decanary) is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers (''decimal fractions'') of t ...
, 45 is a 2-Kaprekar number, because 45² = 2025, and 20 + 25 = 45. The numbers are named after
D. R. Kaprekar.
Definition and properties
Let
be a natural number. Then the Kaprekar function for base
and power
is defined to be the following:
:
,
where
and
:
A natural number
is a
-Kaprekar number if it is a
fixed point for
, which occurs if
.
and
are trivial Kaprekar numbers for all
and
, all other Kaprekar numbers are nontrivial Kaprekar numbers.
The earlier example of 45 satisfies this definition with
and
, because
:
:
:
A natural number
is a sociable Kaprekar number if it is a
periodic point 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 ...
(where
is the
th
iterate of
), and forms a
cycle of period
. A Kaprekar number is a sociable Kaprekar number with
, and a amicable Kaprekar number is a sociable Kaprekar number with
.
The number of iterations
needed for
to reach a fixed point is the Kaprekar function's
persistence of
, and undefined if it never reaches a fixed point.
There are only a finite number of
-Kaprekar numbers and cycles for a given base
, because if
, where
then
:
and
,
, and
. Only when
do Kaprekar numbers and cycles exist.
If
is any divisor of
, then
is also a
-Kaprekar number for base
.
In base
, all even
perfect number
In number theory, a perfect number is a positive integer that is equal to the sum of its positive proper divisors, that is, divisors excluding the number itself. For instance, 6 has proper divisors 1, 2 and 3, and 1 + 2 + 3 = 6, so 6 is a perfec ...
s are Kaprekar numbers. More generally, any numbers of the form
or
for natural number
are Kaprekar numbers in
base 2.
Set-theoretic definition and unitary divisors
The set
for a given integer
can be defined as the set of integers
for which there exist natural numbers
and
satisfying the
Diophantine equation[Iannucci (]2000
2000 was designated as the International Year for the Culture of Peace and the World Mathematics, Mathematical Year.
Popular culture holds the year 2000 as the first year of the 21st century and the 3rd millennium, because of a tende ...
)
:
, where
:
An
-Kaprekar number for base
is then one which lies in the set
.
It was shown in 2000
[ that there is a ]bijection
In mathematics, a bijection, bijective function, or one-to-one correspondence is a function between two sets such that each element of the second set (the codomain) is the image of exactly one element of the first set (the domain). Equival ...
between the unitary divisors of and the set defined above. Let denote the multiplicative inverse
In mathematics, a multiplicative inverse or reciprocal for a number ''x'', denoted by 1/''x'' or ''x''−1, is a number which when Multiplication, multiplied by ''x'' yields the multiplicative identity, 1. The multiplicative inverse of a ra ...
of modulo , namely the least positive integer such that , and for each unitary divisor of let and . Then the function is a bijection from the set of unitary divisors of onto the set . In particular, a number is in the set if and only if for some unitary divisor of .
The numbers in occur in complementary pairs, and . If is a unitary divisor of then so is , and if then .
Kaprekar numbers for
''b'' = 4''k'' + 3 and ''p'' = 2''n'' + 1
Let and be natural numbers, the number base , and . Then:
* is a Kaprekar number.
* is a Kaprekar number for all natural numbers .
''b'' = ''m''2''k'' + ''m'' + 1 and ''p'' = ''mn'' + 1
Let , , and be natural numbers, the number base , and the power . Then:
* is a Kaprekar number.
* is a Kaprekar number.
''b'' = ''m''2''k'' + ''m'' + 1 and ''p'' = ''mn'' + ''m'' − 1
Let , , and be natural numbers, the number base , and the power . Then:
* is a Kaprekar number.
* is a Kaprekar number.
''b'' = ''m''2''k'' + ''m''2 − ''m'' + 1 and ''p'' = ''mn'' + 1
Let , , and be natural numbers, the number base , and the power . Then:
* is a Kaprekar number.
* is a Kaprekar number.
''b'' = ''m''2''k'' + ''m''2 − ''m'' + 1 and ''p'' = ''mn'' + ''m'' − 1
Let , , and be natural numbers, the number base , and the power . Then:
* is a Kaprekar number.
* is a Kaprekar number.
Kaprekar numbers and cycles of for specific ,
All numbers are in base .
Extension to negative integers
Kaprekar numbers can be extended to the negative integers by use of a signed-digit representation to represent each integer.
See also
* Arithmetic dynamics
* Automorphic number
* Dudeney number
* Factorion
* Happy number
* Kaprekar's constant
* Meertens number
* Narcissistic number
* Perfect digit-to-digit invariant
* Perfect digital invariant
* Sum-product number
Notes
References
*
*
*
{{Classes of natural numbers
Arithmetic dynamics
Base-dependent integer sequences
Diophantine equations
Eponymous numbers in mathematics
Number theory
Indian inventions