OFFSET
1,1
COMMENTS
Smallest k such that a(k+1) = a(k) + 2 is 364. - Altug Alkan, May 15 2018
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
select(t -> isprime(t^4+1) and isprime(t^4+3), [seq(i, i=2..10^4, 2)]); # Robert Israel, May 14 2018
MATHEMATICA
Select[Range[0, 200000, 2], PrimeQ[ #^4+1]&&PrimeQ[ #^4+3]&]
Select[Range[7300], AllTrue[#^4+{1, 3}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Sep 18 2019 *)
PROG
(PARI) isok(n) = isprime(n^4+1) && isprime(n^4+3); \\ Michel Marcus, May 15 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Apr 05 2007
STATUS
approved