evidently, for problem 21, looking up if i've seen the number already is slower than  generating the proper divisors on the fly