Tool to test Lychrel numbers. A Lychrel number is a natural integer which does not end the iterative process: while a number is not a palindrome, add the number to its mirror (created by reversing the order of its digits) in order to obtain a new number.

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day! You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!

Tool to test Lychrel numbers. A Lychrel number is a natural integer which does not end the iterative process: while a number is not a palindrome, add the number to its mirror (created by reversing the order of its digits) in order to obtain a new number.

Answers to Questions

How to calculate iterations of a Lychrel number?

Add a number to the value of its mirror (the order of its digits are reversed) to obtain a new number. If this number is a new palindrome, stop, else start again with this number.

Example: 360 + 063 = 423 423 + 324 = 747

What are the Lychrel numbers?

Lychrel numbers never creates such a palindrome, the smaller is 196. It is supposed that there are an infinite number of Lychrel numbers.

Here are the first conjectured Lychrel numbers (below 1000) : 196, 295, 394, 493, 592, 689, 691, 788, 790, 879, 887, 978, 986 []

What is the the most delayed Lychrel number?

A number is delayed when there a multiple steps before becoming a palindrome. The most delayed known is 1186060307891929990 with 261 iterations.

Ask a new question

Source code

dCode retains ownership of the source code of the script Lychrel Number online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be given for free. So if you need to download the online Lychrel Number script for offline use, check contact page !

dCode uses cookies to customize the site content, analyze user behavior and adapt dCode to your use. Some data is stored and collected for advertising purposes and may be shared with our partners. OK