OFFSET
1,1
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..1000
PROG
(Python)
import sympy
from sympy import isprime
for n in range(0, 1000000000, 2):
if isprime(n+1) and isprime(n*n+1) and isprime(n**4+1):
if isprime(n+3) and isprime(n*n+3) and isprime(n**4+3):
print str(n)+', ',
CROSSREFS
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Feb 04 2014
STATUS
approved