OFFSET
1,2
COMMENTS
The twin primes are given by A253639 and A085554. Except for the initial term, all a(n)=3 (mod 6). - M. F. Hasler, Jan 16 2015
LINKS
M. F. Hasler, Table of n, a(n) for n = 1..10000
FORMULA
PROG
(Magma)[n: n in [0..10000]|IsPrime(n^2+2) and IsPrime(n^2+4)] // Vincenzo Librandi, Dec 16 2010
(PARI) is_A086381(x)=ispseudoprime(x^2+2)&&ispseudoprime(x^2+4)
forstep(x=1, 9999, 2, is_A086381(x)&&print1(x", ")) \\ M. F. Hasler, Jan 16 2015
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Zak Seidov, Sep 07 2003
EXTENSIONS
More terms from Vincenzo Librandi, Dec 16 2010
STATUS
approved