OFFSET
1,1
EXAMPLE
a(5) = 31 since the (5 + 1)-th prime is 13, and the (13 - 2)-th prime is 31.
MATHEMATICA
Table[Prime[Prime[n] - 2], {n, 2, 75}] (* Alonso del Arte, Jun 21 2013 *)
PROG
(PARI) a(n) = prime(prime(n + 1) - 2); \\ Michel Marcus, Nov 13 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Jun 19 2013
STATUS
approved