OFFSET
1,1
COMMENTS
Conjecture: only 653 primes are not in the sequence: 2, 3, ..., 100291.
EXAMPLE
29 is in the sequence because with d=6: 23, 17, 11, 5 are all primes.
MATHEMATICA
prms = 4; fQ[p_] := Module[{d = 1}, While[prms*d < p && Union[PrimeQ[p - Range[prms]*d]] != {True}, d++]; prms*d < p]; Select[Prime[Range[2, PrimePi[1013]]], fQ] (* T. D. Noe, Sep 08 2012 *)
PROG
(PARI) is(n)=my(t); forprime(p=2, n-12, if((n-p)%4==0 && isprime((t=(n-p)/4)+p) && isprime(2*t+p) && isprime(3*t+p) && isprime(n), return(1))); 0 \\ Charles R Greathouse IV, Sep 10 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Sep 08 2012
STATUS
approved