Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
Take a number, reverse its digits, and then add that to the original. This is called the "reverse-then-add" operation and repeatedly applying it to a number will produce its reverse-then-add sequence. For most numbers, the reverse-then-add operation quickly produces palindromes, which read the same backward or forward. The first number that is not known to eventually produce a palindrome is 196; thus, the reverse-then-add operation is sometimes known as the "196-algorithm."
Contributed by: Rob Morris (March 2011)
Additional Contributions by: Michael Schreiber
Open content licensed under CC BY-NC-SA
Wolfram Demonstrations Project
Published: March 7 2011