login
A226843
a(n) = prime(prime(n + 1) - 2).
0
2, 5, 11, 23, 31, 47, 59, 73, 103, 109, 149, 167, 179, 197, 233, 269, 277, 313, 347, 353, 389, 419, 449, 499, 523, 547, 571, 587, 607, 691, 727, 761, 773, 853, 859, 907, 947, 977, 1019, 1051, 1063, 1129, 1153, 1187, 1201, 1289, 1381, 1427, 1433, 1453, 1489
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
Sequence in context: A257130 A038924 A278696 * A057931 A039693 A294938
KEYWORD
nonn
AUTHOR
STATUS
approved