27. Perfect Numbers

27.1. Perfect Numbers: order of the algorithm

27.2. Perfect Numbers: run once

Some programs are run many times. Some programs you only run once. They do a lot of calculations, that you wouldn't want to do by hand, but once you've run it, you don't need to run it again. The perfect_numbers is such a program. So what if the algorithm is slow, you can let it run for a week.