| zak seidov on Wed, 26 Sep 2012 18:18:59 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Chain of conditions |
Consider a very simple code:
{for(n=4,1000,
if(bigomega(n)==2&&bigomega(n+1)==2bigomega(n+2)==2, print(n))}
My (si8lly?) Q is:
Does PARI go to next n
immediately if bigomega(n)<>2 or
proceed with checking all other conditions(s)?
It does matter if one has a looong chain of conditions (as I have).
BTW Any suggestions to do this faster? (No gp2c or how it's called, though. )
Many thanks,
Zak Seidov