No description
Find a file
2017-12-02 17:42:31 +01:00
lychrel.cpp Add some error handling 2017-12-02 17:39:03 +01:00
lychrel.hpp Ading source 2017-12-02 16:55:48 +01:00
main.cpp Add some error handling 2017-12-02 17:39:03 +01:00
README.md Update README.md 2017-12-02 17:42:31 +01:00

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