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.

A092836 Prime tribonacci numbers.

Original entry on oeis.org

2, 7, 13, 149, 19341322569415713958901, 15762679542071167858843489, 145082467753351661438130501937754420584096000083183992629
Offset: 1

Views

Author

Eric W. Weisstein, Mar 06 2004

Keywords

Comments

The next term has 212 digits and is too large to fit. - Harvey P. Dale, Oct 08 2017
These primes are A000073(k) at k = 4, 6, 7, 11, 87, 98, 215, 802, 4202, ... The indices in A092835 are off by one. - R. J. Mathar, Dec 14 2011

Crossrefs

Programs

  • Mathematica
    Select[LinearRecurrence[{1,1,1},{0,0,1},1000],PrimeQ] (* Harvey P. Dale, Oct 08 2017 *)
  • PARI
    t(m)= { if (m==0, return(a1)); if (m==1, return(a2)); if (m==2, return(a3)); r = a1 + a2 + a3; a1=a2; a2=a3; a3=r; return(r); } { a1=0; a2=1; a3=1; n=0; for (m=0, 1000, a=t(m); if (isprime(a), write("b092836.txt", n++, " ", a))); } \\ Harry J. Smith, Jun 21 2009