OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
p(3)=5, 2*5 + 3 = 13 = p(6);
p(4)=7, 2*7 + 3 = 17 = p(7).
MATHEMATICA
Select[Partition[2#+3&/@Prime[Range[2500]], 2, 1], AllTrue[#, PrimeQ] && NextPrime[ #[[1]]]==#[[2]]&][[All, 1]] (* Harvey P. Dale, Dec 14 2021 *)
PROG
(PARI) forprime(p=2, 10500, my(p23=2*p+3); if(isprime(p23), my(pp=2*nextprime(p+1)+3); if(isprime(pp)&&pp==nextprime(p23+1), print1(p23, ", ")))) \\ Hugo Pfoertner, Aug 04 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Ray Chandler, Nov 07 2003
EXTENSIONS
Offset changed to 1 by Jinyuan Wang, Aug 04 2021
STATUS
approved