OFFSET
1,1
FORMULA
a(n) = (A235982(n)-1)^(1/4).
EXAMPLE
881 is prime and (881^4+1)^4+1 is also prime. So, 881 is a member of this sequence.
PROG
(Python)
import sympy
from sympy import isprime
{print(p) for p in range(10**4) if isprime(p) and isprime((p**4+1)**4+1)}
(PARI) isok(p) = isprime(p) && (q = p^4+1) && isprime(q^4+1); \\ Michel Marcus, Jan 19 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus and Derek Orr, Jan 19 2014
STATUS
approved