The reversal of a positive integer with decimal digits
is the integer represented by
, with any leading zeros omitted. The reversal
of
is implemented in the Wolfram
Language as IntegerReverse[n].
A positive integer that is the same as its own reversal is known as a palindromic number.
More generally, if
is a positive integer having
base-
digits, where
is an integer,
,
and
, its reversal is
.
Since
, it follows that
,
so
is a multiple
of
. In particular, for the two-digit decimal integer
,
. Similarly,
gives
.
If two ages are reversals of each other and both have two digits in base , write the younger age as
and the older as
,
where
. Their difference is
.
For a fixed positive difference
with
, the possible younger
ages are
for
, 2, ...,
. Successive pairs are therefore
years apart while the two-digit
condition holds. For example, in base 10, the pairs 25 and
52, and 36 and 63, occur 11 years apart (Numberphile 2026).
Ball and Coxeter (1987) consider numbers whose reversals are integral multiples of themselves. Palindromic numbers are trivial examples.
The first few numbers that are multiples of their reversals, excluding palindromic numbers and multiples
of 10, are 8712, 9801, 87912, 98901, 879912, 989901, 8799912, 9899901, 87128712,
87999912, 98019801, 98999901, ... (OEIS A031877).
The pattern continues for large numbers, with numbers of
the form
equal to 4 times their reversals and numbers of the form
equal to 9 times their reversals.
In addition, copies of the same number of either of these forms can be concatenated
to yield numbers of the form
,
equal to 4 times their reversals, and
, equal
to 9 times their reversals.
The reversals of these numbers, arranged in increasing order, are 1089, 2178, 10989, 21978, 109989, 219978, ... (OEIS A008919).
The product of a two-digit number and its reversal is never a square number except when the digits are the same (Ogilvy and Anderson 1988).
Numbers whose product is the reversal of the products of their reversals include (221, 312) and (122, 213), since
|
(1)
| |||
|
(2)
|
(Ball and Coxeter 1987, p. 14).
Non-palindromic numbers such that
is not divisible by 10 and
is square,
where
is the reversal of
,
are given by 144, 169, 288, 441, 528, ... (OEIS A062917).
Examples of perfect powers with exponent greater than 2 resulting from reversal multiplication include
|
(3)
| |||
|
(4)
|
In the prime-reversal recurrence, replace each term by the decimal reversal of the
th prime number, with
. Starting at
gives 1, 2, 3, 5, 11, 13, 14, 34, 931,
(OEIS A100475). Veljjanoski
(2026) proved that no orbit with a starting value greater than 1 is eventually periodic,
answering Vos Post's (2004) question. The start at 1 also cannot lead to a cycle
because its next term is 2. The proof uses the fact that the number of decimal digits never decreases: the
th prime exceeds
, and its final digit is nonzero.
Bounds on the prime counting function exclude
cycles of constant digit length at least 5, and a finite check excludes the remaining
cases. The Palomar Registry records successful Lean proof checking.