TOPICS
Search

Reverse-Then-Add Sequence


The reverse-then-add sequence lists n plus its reversal for each positive integer n, using decimal digits. For n=1, 2, ..., this gives 2, 4, 6, 8, 10, 12, 14, 16, 18, 11, 22, 33, 44, 55, 66, 77, 88, 99, 110, ... (OEIS A056964).

Reverse-Then-AddSequence2

The plots above show iterations of reverse-then-add using binary digits. The left plot starts at 16 and runs for 250 steps, and the right plot starts at 512 and runs for 500 steps (Wolfram 2002, pp. 125-127).

Applying the reverse-then-add operation iteratively, stopping if a palindromic number is obtained, is called the 196-algorithm.


See also

196-Algorithm, Lychrel Number, RATS Sequence, Sort-Then-Add Sequence

Explore with Wolfram|Alpha

References

Sloane, N. J. A. Sequence A056964 in "The On-Line Encyclopedia of Integer Sequences."Wolfram, S. A New Kind of Science. Champaign, IL: Wolfram Media, pp. 125-127, 2002.

Referenced on Wolfram|Alpha

Reverse-Then-Add Sequence

Cite this as:

Weisstein, Eric W. "Reverse-Then-Add Sequence." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Reverse-Then-AddSequence.html

Subject classifications