OFFSET
1,1
COMMENTS
Equivalently, primes p such that there exists k such that p = prime(k) + prime(k+2) + prime(k+4) + prime(k+6) + prime(k+8) + prime(k+10) + prime(k+12).
LINKS
Muniru A Asiru, Table of n, a(n) for n = 1..5000
EXAMPLE
151 = 3 + 7 + 13 + 19 + 29 + 37 + 43 is a prime and 3, 7, 13, 19, 29, 37, 43 are alternate primes.
229 = 11 + 17 + 23 + 31 + 41 + 47 + 59 is a prime and 11, 17, 23, 31, 41, 47, 59 are alternate primes.
MAPLE
select(isprime, [seq(sum(ithprime(2*i+k), i=0..6), k=1..210)]);
PROG
(GAP) P:=Filtered([1..10000], IsPrime);;
Filtered(List([1..210], k->Sum([0..6], i->P[2*i+k])), IsPrime);
CROSSREFS
KEYWORD
nonn
AUTHOR
Muniru A Asiru, Mar 05 2018
STATUS
approved