OFFSET
1,1
LINKS
Carlos Rivera, Puzzle 1021. p(k)+p(k+1)+1, The Prime Puzzles and Problems Connection. A puzzle about these numbers.
FORMULA
a(n) = A001043(n) + 1. - Michel Marcus, Mar 15 2020
MAPLE
seq( ithprime(x)+ithprime(x+1)+1, x=1..80);
MATHEMATICA
Total/@Partition[Prime[Range[60]], 2, 1]+1 (* Harvey P. Dale, Jun 24 2015 *)
PROG
(Sage)
BB = primes_first_n(56)
L = []
for i in range(55):
L.append(BB[1+i]+BB[i]+1)
L # Zerinvary Lajos, Jun 27 2008
(PARI) a(n) = prime(n+1)+prime(n)+1; \\ Michel Marcus, Mar 15 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Jorge Coveiro, Apr 19 2004
STATUS
approved