Andrew Lelechenko on Tue, 18 Sep 2012 19:42:04 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: forprime

As for me not looping over all composits, but looping over integers
with a given number of divisors will be of great interest. Of course
there is a dirty implementation like
for(n=1, lim, if(numdiv(n)=..., ...))
or (if a number of divisors is constant while running program) nested
forprime-loops, but native (sieve-based?) implementation would be

Best regards,