The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A216497 Primes p with property that there exists a number d>0 such that numbers p-k*d, k=1...4, are four primes. 7
29, 53, 127, 131, 157, 173, 197, 227, 251, 257, 271, 283, 293, 311, 353, 373, 389, 397, 421, 443, 449, 463, 479, 509, 521, 587, 607, 613, 617, 661, 673, 677, 691, 719, 757, 761, 811, 821, 823, 839, 853, 859, 863, 881, 887, 907, 911, 941, 953, 967, 983, 997, 1013 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Conjecture: only 653 primes are not in the sequence: 2, 3, ..., 100291.
LINKS
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
Sequence in context: A034847 A139925 A243439 * A139877 A290706 A044081
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Sep 08 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 1 18:31 EDT 2024. Contains 373027 sequences. (Running on oeis4.)