|
|
|
@ -4,6 +4,7 @@ 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
|
|
|
|
|