N-smooth numbers: Difference between revisions

Content added Content deleted
Line 2,366: Line 2,366:
S7(1691)
S7(1691)
S7(10^6)
S7(10^6)
my(p=509,n=30000,c=20); upto(n+c,primes([0,p]))[n..n+c-1]
my(p=509,n=30000,c=20); upto(n+c-1,primes([0,p]))[n..n+c-1]
</syntaxhighlight>
</syntaxhighlight>
{{out}}
{{out}}