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.

A095120 a(n) = prime(3^n - 1).

Original entry on oeis.org

3, 19, 101, 409, 1531, 5507, 19273, 65677, 220859, 733559, 2412763, 7867543, 25485179, 82064011, 262960069, 839001707, 2666790157, 8448283721, 26684834629, 84064182049, 264194301341, 828513359543, 2593131866471, 8101615860581, 25270000074743
Offset: 1

Views

Author

Cino Hilliard, Jun 19 2004

Keywords

Crossrefs

Programs

  • Mathematica
    Prime[3^Range[25]-1] (* Harvey P. Dale, Dec 01 2018 *)
  • PARI
    f(n) = for(x=1,n,print1(prime(3^x-1)","))

Formula

a(n) = A151799(A038833(n)). - Amiram Eldar, Jul 01 2024

Extensions

More terms from Harvey P. Dale, Dec 01 2018