Talk:Weird numbers: Difference between revisions

Content deleted Content added
Petelomax (talk | contribs)
m fix syntaxhighlight
No edit summary
Line 1:
=== MyLonger but quicker version. ===
 
I saw there's already a Python program listed here for doing this, but I (with help from some others) created this one. Using the "sum of factors" formula it tests if a number is abundant BEFORE generating the list of each factors. If the number is deficient, the program returns so and saves memory. The program is alnmost twice as fast as the original, taking 0.16 s for the first 50.
Return to "Weird numbers" page.