A279765 Primes p such that p+24 and p+48 are also primes.
5, 13, 19, 23, 59, 79, 83, 89, 103, 149, 233, 269, 283, 349, 373, 409, 419, 439, 443, 499, 523, 569, 593, 653, 709, 773, 829, 839, 859, 863, 929, 1039, 1069, 1259, 1279, 1399, 1423, 1559, 1699, 1753, 1823, 1949, 1979, 2039, 2063, 2089, 2113, 2309, 2333, 2393
Offset: 1
Keywords
Examples
First term: 5, 5 + 24 = 29 and 5 + 48 = 53 are all primes.
Links
- Gerhard Kirchner, Table of n, a(n) for n = 1..10000
- Gerhard Kirchner, Comparison of triples
Programs
-
Mathematica
Select[Prime@Range@500, PrimeQ[# + 24] && PrimeQ[# + 48] &] (* Robert G. Wilson v, Dec 18 2016 *)
-
PARI
is(n) = for(k=0, 2, if(!ispseudoprime(n+24*k), return(0))); 1 \\ Felix Fröhlich, Dec 26 2016
Comments