in reply to Easy way to list prime numbers 1 to 100
The truly easy way:
The argument of Pari's primes() function is how many primes you want, not a limit.use Math::Pari; my $primes = PARI 'primes(25)'; print "@{$primes}\n";
The hard part is installing Math::Pari.
After Compline,
Zaxo
|
|---|