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.

Showing 1-1 of 1 results.

A199192 Primes of the form 3^(2n-3)+3^(n-1)+1.

Original entry on oeis.org

7, 37, 271, 2269, 19927, 129159847, 1162320517, 49269609804781974450852068861184694669, 589881151426658740854227725580736348850640632297373414091790995505756623268837
Offset: 1

Views

Author

Michel Lagneau, Nov 03 2011

Keywords

Comments

The corresponding n are in A199191.
The next term -- a(10) -- has 152 digits. - Harvey P. Dale, May 28 2015

Crossrefs

Programs

  • Mathematica
    a={}; Do[p=( (3^(n-1) + 1)^3 -1)/3^n; If[PrimeQ[p], AppendTo[a, p]], {n, 10^2}]; Print[a];
    Select[Table[3^(2n-3)+3^(n-1)+1,{n,100}],PrimeQ] (* Harvey P. Dale, May 28 2015 *)

Formula

Primes in A198410.
Showing 1-1 of 1 results.