Kaprekar number

Last updated

In mathematics, a natural number 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, 45 is a 2-Kaprekar number, because 452 = 2025, and 20 + 25 = 45. The numbers are named after D. R. Kaprekar.

Contents

Definition and properties

Let be a natural number. We define the Kaprekar function for base and power 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 (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 numbers 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

We can define the set for a given integer as the set of integers for which there exist natural numbers and satisfying the Diophantine equation [1]

, where

An -Kaprekar number for base is then one which lies in the set .

It was shown in 2000 [1] that there is a bijection between the unitary divisors of and the set defined above. Let denote the multiplicative inverse 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 = 4k + 3 and p = 2n + 1

Let and be natural numbers, the number base , and . Then:

Proof

Let

Then,


The two numbers and are

and their sum is

Thus, is a Kaprekar number.

Proof

Let

Then,

The two numbers and are

and their sum is

Thus, is a Kaprekar number.

b = m2k + m + 1 and p = mn + 1

Let , , and be natural numbers, the number base , and the power . Then:

b = m2k + m + 1 and p = mn + m − 1

Let , , and be natural numbers, the number base , and the power . Then:

b = m2k + m2m + 1 and p = mn + 1

Let , , and be natural numbers, the number base , and the power . Then:

b = m2k + m2m + 1 and p = mn + m − 1

Let , , and be natural numbers, the number base , and the power . Then:

Kaprekar numbers and cycles of for specific ,

All numbers are in base .

Base Power Nontrivial Kaprekar numbers , Cycles
2 110
3 12, 10
4 13, 10
5 14, 5, 10
6 15, 6, 10
713, 4, 6, 10
8 17, 102 → 4 → 2
9 18, 10
10 19, 10
1115, 6, A, 10
12 1B, 10
1314, 9, C, 10
141D, 10
1517, 8, E, 10

2 → 4 → 2

9 → B → 9

16 16, A, F, 10
2211
3222, 100
4212, 22, 33, 100
5214, 31, 44, 100
6223, 33, 55, 100

15 → 24 → 15

41 → 50 → 41

7222, 45, 66, 100
8234, 44, 77, 100

4 → 20 → 4

11 → 22 → 11

45 → 56 → 45

23111, 100010 → 100 → 10
33111, 112, 222, 100010 → 100 → 10
24110, 1010, 1111, 10000
34121, 2102, 2222, 10000
2511111, 100000

10 → 100 → 10000 → 1000 → 10

111 → 10010 → 1110 → 1010 → 111

3511111, 22222, 10000010 → 100 → 10000 → 1000 → 10
2611100, 100100, 111111, 1000000

100 → 10000 → 100

1001 → 10010 → 1001

100101 → 101110 → 100101

3610220, 20021, 101010, 121220, 202202, 212010, 222222, 1000000

100 → 10000 → 100

122012 → 201212 → 122012

271111111, 10000000

10 → 100 → 10000 → 10

1000 → 1000000 → 100000 → 1000

100110 → 101111 → 110010 → 1010111 → 1001100 → 111101 → 100110

371111111, 1111112, 2222222, 10000000

10 → 100 → 10000 → 10

1000 → 1000000 → 100000 → 1000

1111121 → 1111211 → 1121111 → 1111121

281010101, 1111000, 10001000, 10101011, 11001101, 11111111, 100000000
382012021, 10121020, 12101210, 21121001, 20210202, 22222222, 100000000
2910010011, 101101101, 111111111, 1000000000

10 → 100 → 10000 → 100000000 → 10000000 → 100000 → 10

1000 → 1000000 → 1000

10011010 → 11010010 → 10011010

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

Notes

  1. 1 2 Iannucci (2000)

Related Research Articles

In mathematics, the Bernoulli numbersBn are a sequence of rational numbers which occur frequently in analysis. The Bernoulli numbers appear in the Taylor series expansions of the tangent and hyperbolic tangent functions, in Faulhaber's formula for the sum of m-th powers of the first n positive integers, in the Euler–Maclaurin formula, and in expressions for certain values of the Riemann zeta function.

In mathematics, the Euler–Maclaurin formula is a formula for the difference between an integral and a closely related sum. It can be used to approximate integrals by finite sums, or conversely to evaluate finite sums and infinite series using integrals and the machinery of calculus. For example, many asymptotic expansions are derived from the formula, and Faulhaber's formula for the sum of powers is an immediate consequence.

In mathematics, the Euler numbers are a sequence En of integers defined by the Taylor series expansion

In mathematics, the Hermite polynomials are a classical orthogonal polynomial sequence.

<span class="mw-page-title-main">Catalan number</span> Recursive integer sequence

In combinatorial mathematics, the Catalan numbers are a sequence of natural numbers that occur in various counting problems, often involving recursively defined objects. They are named after the French-Belgian mathematician Eugène Charles Catalan.

<span class="mw-page-title-main">Bernoulli polynomials</span> Polynomial sequence

In mathematics, the Bernoulli polynomials, named after Jacob Bernoulli, combine the Bernoulli numbers and binomial coefficients. They are used for series expansion of functions, and with the Euler–MacLaurin formula.

<span class="mw-page-title-main">Partition function (number theory)</span> The number of partitions of an integer

In number theory, the partition functionp(n) represents the number of possible partitions of a non-negative integer n. For instance, p(4) = 5 because the integer 4 has the five partitions 1 + 1 + 1 + 1, 1 + 1 + 2, 1 + 3, 2 + 2, and 4.

<span class="mw-page-title-main">Hexagonal number</span> Type of figurate number

A hexagonal number is a figurate number. The nth hexagonal number hn is the number of distinct dots in a pattern of dots consisting of the outlines of regular hexagons with sides up to n dots, when the hexagons are overlaid so that they share one vertex.

Eisenstein series, named after German mathematician Gotthold Eisenstein, are particular modular forms with infinite series expansions that may be written down directly. Originally defined for the modular group, Eisenstein series can be generalized in the theory of automorphic forms.

In mathematics, the Leibniz formula for π, named after Gottfried Wilhelm Leibniz, states that

In number theory, Kaprekar's routine is an iterative algorithm named after its inventor, Indian mathematician D. R. Kaprekar. Each iteration starts with a number, sorts the digits into descending and ascending order, and calculates the difference between the two new numbers.

<span class="mw-page-title-main">Lemniscate constant</span> Ratio of the perimeter of Bernoullis lemniscate to its diameter

In mathematics, the lemniscate constantϖ is a transcendental mathematical constant that is the ratio of the perimeter of Bernoulli's lemniscate to its diameter, analogous to the definition of π for the circle. Equivalently, the perimeter of the lemniscate is 2ϖ. The lemniscate constant is closely related to the lemniscate elliptic functions and approximately equal to 2.62205755. The symbol ϖ is a cursive variant of π; see Pi § Variant pi.

<span class="mw-page-title-main">Dirichlet beta function</span>

In mathematics, the Dirichlet beta function is a special function, closely related to the Riemann zeta function. It is a particular Dirichlet L-function, the L-function for the alternating character of period four.

<span class="mw-page-title-main">Lemniscate elliptic functions</span> Mathematical functions

In mathematics, the lemniscate elliptic functions are elliptic functions related to the arc length of the lemniscate of Bernoulli. They were first studied by Giulio Fagnano in 1718 and later by Leonhard Euler and Carl Friedrich Gauss, among others.

The decimal value of the natural logarithm of 2 is approximately

In number theory, a perfect digital invariant (PDI) is a number in a given number base () that is the sum of its own digits each raised to a given power ().

References