Do any base-10 Lychrel numbers exist?
A Lychrel number is a natural number that cannot form a palindrome through the iterative process of repeatedly reversing its digits and adding the resulting numbers. This process is sometimes called the 196-algorithm, after the most famous number associated with the process. In base ten, no Lychrel numbers have been yet proved to exist, but many, including 196, are suspected on heuristic and statistical grounds. The name "Lychrel" was coined by Wade VanLandingham as a rough anagram of Cheryl, his girlfriend's first name.
The reverse-and-add process produces the sum of a number and the number formed by reversing the order of its digits. For example, 56 + 65 = 121. As another example, 125 + 521 = 646.
Some numbers become palindromes quickly after repeated reversal and addition, and are therefore not Lychrel numbers. All one-digit and two-digit numbers eventually become palindromes after repeated reversal and addition.
About 80% of all numbers under 10,000 resolve into a palindrome in four or fewer steps. About 90% resolve in seven steps or fewer. Here are a few examples of non-Lychrel numbers:
- 56 becomes palindromic after one iteration: 56+65 = 121.
- 57 becomes palindromic after two iterations: 57+75 = 132, 132+231 = 363.
- 59 becomes a palindrome after 3 iterations: 59+95 = 154, 154+451 = 605, 605+506 = 1111
- 89 takes an unusually large 24 iterations (the most of any number under 10,000 that is known to resolve into a palindrome) to reach the palindrome 8,813,200,023,188.
- 10,911 reaches the palindrome 4668731596684224866951378664 (28 digits) after 55 steps.
- 1,186,060,307,891,929,990 takes 261 iterations to reach the 119-digit palindrome 44562665878976437622437848976653870388884783662598425855963436955852489526638748888307835667984873422673467987856626544, which is the current world record for the Most Delayed Palindromic Number. It was solved by Jason Doucette's algorithm and program (using Benjamin Despres' reversal-addition code) on November 30, 2005.
The smallest known number that is not known to form a palindrome is 196. It is the smallest Lychrel number candidate.
The number resulting from the reversal of the digits of a Lychrel number is also a Lychrel number.
Proof not found
In other bases (these bases are power of 2, like binary and hexadecimal), certain numbers can be proven to never form a palindrome after repeated reversal and addition, but no such proof has been found for 196 and other base 10 numbers.
It is conjectured that 196 and other numbers that have not yet yielded a palindrome are Lychrel numbers, but no number in base ten has yet been proven to be Lychrel. Numbers which have not been demonstrated to be non-Lychrel are informally called "candidate Lychrel" numbers. The first few candidate Lychrel numbers (sequence A023108 in OEIS) are:
- 196, 295, 394, 493, 592, 689, 691, 788, 790, 879, 887, 978, 986, 1495, 1497, 1585, 1587, 1675, 1677, 1765, 1767, 1855, 1857, 1945, 1947, 1997.
The numbers in bold are suspected Lychrel seed numbers (see below). Computer programs by Jason Doucette, Ian Peters and Benjamin Despres have found other Lychrel candidates. Indeed, Benjamin Despres' program has identified all suspected Lychrel seed numbers of less than 17 digits. Wade VanLandingham's site lists the total number of found suspected Lychrel seed numbers for each digit length.
The brute-force method originally deployed by John Walker has been refined to take advantage of iteration behaviours. For example, Vaughn Suite devised a program that only saves the first and last few digits of each iteration, enabling testing of the digit patterns in millions of iterations to be performed without having to save each entire iteration to a file. However, so far no algorithm has been developed to circumvent the reversal and addition iterative process.
Threads, seed and kin numbers
The term thread, coined by Jason Doucette, refers to the sequence of numbers that may or may not lead to a palindrome through the reverse and add process. Any given seed and its associated kin numbers will converge on the same thread. The thread does not include the original seed or kin number, but only the numbers that are common to both, after they converge.
Seed numbers are a subset of Lychrel numbers, that is the smallest number of each non palindrome producing thread. A seed number may be a palindrome itself. The first three examples are shown in bold in the list above.
Kin numbers are a subset of Lychrel numbers, that include all numbers of a thread, except the seed, or any number that will converge on a given thread after a single iteration. This term was introduced by Koji Yamashita in 1997.
196 palindrome quest
In the 1980s the 196 palindrome problem attracted the attention of microcomputer hobbyists, with search programs by Jim Butterfield and others appearing in several mass-market computing magazines. In 1985 a program by James Killman ran unsuccessfully for over 28 days, cycling through 12,954 passes and reaching a 5366-digit number.
John Walker began his 196 Palindrome Quest on 12 August 1987 on a Sun 3/260 workstation. He wrote a C program to perform the reversal and addition iterations and to check for a palindrome after each step. The program ran in the background with a low priority and produced a checkpoint to a file every two hours and when the system was shut down, recording the number reached so far and the number of iterations. It restarted itself automatically from the last checkpoint after every shutdown. It ran for almost three years, then terminated (as instructed) on 24 May 1990 with the message:
- Stop point reached on pass 2,415,836.
- Number contains 1,000,000 digits.
196 had grown to a number of one million digits after 2,415,836 iterations without reaching a palindrome. Walker published his findings on the Internet along with the last checkpoint, inviting others to resume the quest using the number reached so far.
In 1995, Tim Irvin used a supercomputer and reached the two million digit mark in only three months without finding a palindrome. Jason Doucette then followed suit and reached 12.5 million digits in May 2000. Wade VanLandingham used Jason Doucette's program to reach 13 million digits, a record published in Yes Mag: Canada's Science Magazine for Kids. Since June 2000, Wade VanLandingham has been carrying the flag using programs written by various enthusiasts. By 1 May 2006, VanLandingham had reached the 300 million digit mark (at a rate of one million digits every 5 to 7 days). Using distributed processing, in 2011 Romain Dolbeau completed a billion iterations to produce a number with 413,930,770 digits, and in July 2012 his calculations reached a number with 600 million digits. A palindrome has yet to be found.
Other potential Lychrel numbers which have also been subjected to the same brute force method of repeated reversal addition include 879, 1997 and 7059: they have been taken to several million iterations with no palindrome being found.
In base 2, 10110 is a proved Lychrel number, since it gets 10110100 after 4 steps, 1011101000 after 8 steps, 101111010000 after 12 steps, 10(n + 1 1's)01(n + 1 0's) after 4n steps, so it gets no palindrome forever[clarification needed] (see A058042), while all smaller number reach a palindrome. The only bases such that there are proved Lychrel numbers are powers of 2.
The smallest possible Lychrel number to base n are (start with n = 2, written in base 10)
- 22, 100, 255, 708, 1079, 2656, 1021, 593, 196, 1011, 237, 2196, 361, 447, 413, 3297, 519, 341, 379, 711, 461, 505, 551, 1022, 649, 701, 755, 811, 869, 929, 991, 1055, 1799, 1922, 1259, 1331, 1405, 1481, 1559, 1639, 1595, 1762, 1891, 1934, 2069, 2161, 2255, 2351, 2299, ... (sequence A060382 in OEIS)
- O'Bryant, Kevin (26 December 2012). "Reply to Status of the 196 conjecture?". Math Overflow.
- Brown, Kevin. "Digit Reversal Sums Leading to Palindromes". MathPages.
- VanLandingham, Wade. "Lychrel Records". p196.org.
- VanLandingham, Wade. "Identified Seeds". p196.org.
- "Bits and Pieces". The Transactor (Transactor Publishing) 4 (6): 16–23. 1984. Retrieved 26 December 2014.
- Rupert, Dale (October 1984). "Commodares: Programming Challenges". Ahoy! (Ion International) (10): 23,97–98.
- Rupert, Dale (June 1985). "Commodares: Programming Challenges". Ahoy! (Ion International) (18): 81–84,114.
- Swierczewski, Lukasz; Dolbeau, Romain (June 23, 2014). The p196_mpi Implementation of the Reverse-And-Add Algorithm for the Palindrome Quest. International Supercomputing Conference. Leipzig, Germany.
- Dolbeau, Romain. "The p196_mpi page". www.dolbeau.name.
- Lychrel Records at the Wayback Machine (archived October 21, 2006)
- "Sloane's A023108 : Positive integers which apparently never result in a palindrome under repeated applications of the function f(x) = x + (x with digits reversed)", The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
- John Walker – Three years of computing
- Tim Irvin – About two months of computing
- Jason Doucette – World records – 196 Palindrome Quest, Most Delayed Palindromic Number
- Benjamin Despres
- 196 and Other Lychrel Numbers by Wade VanLandingham
- Weisstein, Eric W., "196-Algorithm", MathWorld.
- MathPages – Digit Reversal Sums Leading to Palindromes