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.
Mikael Nordin f164d32d34
Update README.md
7 years ago
README.md Update README.md 7 years ago
lychrel.cpp Add some error handling 7 years ago
lychrel.hpp Ading source 7 years ago
main.cpp Add some error handling 7 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