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
KEYWORD
nonn
AUTHOR
Zak Seidov, Sep 06 2014
EXTENSIONS
More terms from Colin Barker, Sep 08 2014
STATUS
approved