cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A226843 a(n) = prime(prime(n + 1) - 2).

Original entry on oeis.org

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

Views

Author

Juri-Stepan Gerasimov, Jun 19 2013

Keywords

Examples

			a(5) = 31 since the (5 + 1)-th prime is 13, and the (13 - 2)-th prime is 31.
		

Crossrefs

Programs

  • Mathematica
    Table[Prime[Prime[n] - 2], {n, 2, 75}] (* Alonso del Arte, Jun 21 2013 *)
  • PARI
    a(n) = prime(prime(n + 1) - 2); \\ Michel Marcus, Nov 13 2016