Anonymous user
Consecutive primes with ascending or descending differences: Difference between revisions
Consecutive primes with ascending or descending differences (view source)
Revision as of 12:46, 1 October 2021
, 2 years ago→{{header|Pari/GP}}: clarify
m (→{{header|Pari/GP}}: clarify) |
|||
Line 636:
=={{header|Pari/GP}}==
Code is pretty reasonable, runs in ~70 ms at 1,000,000. Running under PARI (
<lang parigp>showPrecPrimes(p, n)=
{
|