The reversal of a positive integer abc...z is The reversal of a positive integer n 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.

Ball and Coxeter (1987) consider numbers whose reversals are integral multiples of themselves. Palindromic numbers and numbers ending with a zero are trivial examples.

The first few nontrivial examples of numbers whose reversals are multiples of themselves 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 879...9_()12 equal to 4 times their reversals and numbers of the form 989...9_()01 equal to 9 times their reversals. In addition, runs of numbers of either of these forms can be concatenated to yield numbers of the form 879...9_()12...879...9_()12, equal to 4 times their reversals, and 989...9_()01...989...9_()01, equal to 9 times their reversals.

The reversals corresponding to the above are 1089, 2178, 10989, 21978, 109989, 219978, ... (OEIS A008919).

The product of a 2-digit number and its reversal is never a square number except when the digits are the same (Ogilvy 1988).

Numbers whose product is the reversal of the products of their reversals include (221, 312) and (122, 213), since


(Ball and Coxeter 1987, p. 14).

Non-palindromic numbers n such that n is not divisible by 10 and nR(n) is square, where R(n) is the reversal of n, are given by 144, 169, 288, 441, 528, ... (OEIS A062917).

The only known powers greater than squared resulting from reversal multiplication are


See also

Emirp, Keith Number, Perfect Power, RATS Sequence

Explore with Wolfram|Alpha


Ball, W. W. R. and Coxeter, H. S. M. Mathematical Recreations and Essays, 13th ed. New York: Dover, pp. 14-15, 1987.Edalj, J. Problem 1622. L'Interméd. Math. 16, 34, 1909.Jonesco, J. Problem 1622. L'Interméd. Math. 15, 128, 1908.Ogilvy, C. S. and Anderson, J. T. Excursions in Number Theory. New York: Dover, pp. 88-89, 1988.Sloane, N. J. A. Sequences A008919, A031877, and A062917 in "The On-Line Encyclopedia of Integer Sequences."Welsch. Problem 1622. L'Interméd. Math. 15, 278, 1908.

Referenced on Wolfram|Alpha


Cite this as:

Weisstein, Eric W. "Reversal." From MathWorld--A Wolfram Web Resource.

Subject classifications