OFFSET
1,1
COMMENTS
Equivalently, primes that are the sum of 3 alternate primes. - Muniru A Asiru, Mar 05 2018
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
From Muniru A Asiru, Mar 26 2018: (Start)
23 is a term because prime(2) + prime(4) + prime(6) = 3 + 7 + 13 = 23, a prime.
61 is a term because prime(6) + prime(8) + prime(10) = 13 + 19 + 29 = 61, a prime.
... (End)
MAPLE
select(isprime, [seq(sum(ithprime(2*i-1+k), i=1..3), k=0..150)]); # Muniru A Asiru, Mar 05 2018
MATHEMATICA
Select[#[[1]]+#[[3]]+#[[5]]&/@Partition[Prime[Range[200]], 5, 1], PrimeQ] (* Harvey P. Dale, Mar 16 2017 *)
PROG
(GAP) P:=Filtered([1..10000], IsPrime);;
Filtered(List([0..150], k->Sum([1..3], i->P[2*i-1+k])), IsPrime); # Muniru A Asiru, Mar 05 2018
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Feb 28 2002
STATUS
approved