Rather than populating an array with the sumssum of the proper divisors preparatory toand athen searchsearching, the approach here performs an direct test, saving memory, and at no observablesignificant penalty in execution speed, even though about 25% more calls are made to sumf() than would be required simply to initialize thean array.