solved problem 5 in an inelegant manner - I got lucky when
deconstructing the example problem, and guessed a range of numbers large
enough to yield the answer.