Difference between revisions of "Project Euler/55"
m (Replacing charlesreid1.com:3000 with git.charlesreid1.com)
|Line 13:||Line 13:|
Latest revision as of 03:48, 9 October 2019
Lychrel numbers are numbers that, when you repeatedly reverse and add to itself, never produces a palindrome.
How many Lychrel numbers are there below ten-thousand?
Our technique is to implement a maximum on the number of times we reverse a number and add it to itself - namely, 50. If a number reaches 50 iterations and still has not reached a palindrome, we declare it a Lychrel number.
Project Eulerproject euler notes
Round 1: Problems 1-20
Round 2: Problems 50-70
Round 3: Problems 100-110
Round 4: Problems 500-510
Round 5: Problems 150-160
Round 6: Problems 250-260
Round 7: Problems 170-180