File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1717 # When counting, 1 in every p numbers is a multiple of p.
1818 # Do we have FEWER smooth number multiples than this? Then this is a GOOD candidate to remove from sieving.
1919 # Do we have MORE smooth number multiples than this? Then this is a BAD candidate to remove from sieving.
20- # So we INCLUDE the numbers that are GOOD candidates for wheel factorization (so they DON'T occur in sieving),
21- # and we EXCLUDE the numbers that are BAD candidates for wheel factorization (so they DO occur in sieving).
20+ # So we INCLUDE the numbers that are GOOD candidates in wheel factorization (so they DON'T occur in sieving),
21+ # and we EXCLUDE the numbers that are BAD candidates in wheel factorization (so they DO occur in sieving).
2222 print ("Prime = " + str (p ) + ", quality = " + (str ((1 / p ) / (mult_count / smooth_num_count )) if mult_count else "MAX" ))
2323
2424print ("Any low quality score (particularly less than 1.0, but even higher) might be worth excluding." )
You can’t perform that action at this time.
0 commit comments