We needed to create a program that asks the user for two pieces of data:
- The lower bound of the sequence
- The upper bound of the sequence
Then you check the values from the lower bound (inclusive) to the upper bound (inclusive) and make a report of them. During the analysis of each number, if a Lychrel number is found it should be reported immediately with something like “Found a Lychrel number: 196”
One of my friends, Lalo Maciel, helped with this assignment so here it is.
This page helped also. https://mattmccutchen.net/bigint/
This page helped also. https://mattmccutchen.net/bigint/
Here’s my code in GitHub.