OFFSET
1,1
COMMENTS
Both k and k+1 are terms in A005098. All terms are multiples of 3.
4k+1 and 4(k+1)+1 are pairs of consecutive primes. Notice that in all cases, the numbers 4(k-1)+1 and 4(k+2)+1 are not prime as they are multiples of 3.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
MAPLE
A254010:=n->`if`(isprime(4*n+1) and isprime(4*(n+1)+1), n, NULL): seq(A254010(n), n=1..2000); # Wesley Ivan Hurt, Apr 23 2015
MATHEMATICA
Select[Range[1000], PrimeQ[4 # + 1] && PrimeQ[4 (# + 1) + 1] &] (* Vincenzo Librandi, Apr 24 2015 *)
PROG
(Magma) [n: n in [0..1000] | IsPrime(4*n+1) and IsPrime(4*(n+1)+1)]; // Vincenzo Librandi, Apr 24 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Jan 22 2015
STATUS
approved