OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(2)=4 since 3*prime(4) + prime(5) - 3 = 3*7 + 11 - 3 = 29 is prime.
MAPLE
P:= select(isprime, [2, seq(i, i=3..10^4, 2)]):
select(n -> isprime(3*P[n]+P[n+1]-3), [$1..nops(P)-1]); # Robert Israel, Nov 29 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Nov 18 2004
EXTENSIONS
Corrected and extended by Rick L. Shepherd, Nov 24 2004
STATUS
approved