You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Micke Nordin 807bc71c30 Merge branch 'master' of https://github.com/mickenordin/lychrel 3 years ago
README.md Update README.md 3 years ago
lychrel.cpp Simplify and add list of all lychrel numbers under 10000 3 years ago
lychrel.hpp Ading source 3 years ago
lychrel.txt Simplify and add list of all lychrel numbers under 10000 3 years ago
main.cpp Simplify and add list of all lychrel numbers under 10000 3 years ago

README.md

lychrel

Iterate through numbers to rule out that they are lychrel numbers

compile with: g++ -o lychrel lychrel.cpp lychrel.hpp main.cpp

run with: ./lychrel “a number you want to check” i.e.:

./lychrel 196

https://en.wikipedia.org/wiki/Lychrel_number