lychrel/README.md
2017-12-02 17:42:44 +01:00

257 B

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