The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A246874 Primes p such that p - m^2, m = 2, 4, 6, 8, are all (positive) primes. 2
 83, 167, 227, 503, 677, 1217, 1487, 4973, 5843, 10337, 12437, 13163, 15683, 15923, 21803, 22067, 23057, 24107, 24113, 36587, 40883, 47717, 53633, 57287, 65183, 73013, 95633, 104123, 107777, 109583, 113147, 122267, 128987, 129533, 132173, 148403, 148727 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Chai Wah Wu, Table of n, a(n) for n = 1..1000 EXAMPLE 83, 79, 67, 47 and 19 are primes so 83 is a term in this sequence. PROG (PARI) select(p->isprime(p-4) && isprime(p-16) && isprime(p-36) && isprime(p-64), primes(200000)) \\ Colin Barker, Sep 08 2014 (Python) from sympy import prime, isprime A246874_list = [p for p in (prime(n) for n in range(1, 3*10**6)) if all([isprime(p-m*m) for m in range(2, 10, 2)])] # Chai Wah Wu, Sep 08 2014 CROSSREFS Subsequence of A246873. Sequence in context: A044634 A160849 A277807 * A136079 A118359 A084866 Adjacent sequences:  A246871 A246872 A246873 * A246875 A246876 A246877 KEYWORD nonn AUTHOR Zak Seidov, Sep 06 2014 EXTENSIONS More terms from Colin Barker, Sep 08 2014 STATUS approved

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

Last modified January 22 19:16 EST 2020. Contains 331153 sequences. (Running on oeis4.)