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-2 of 2 results.

A100891 Prime Padovan numbers.

Original entry on oeis.org

2, 3, 5, 7, 37, 151, 3329, 23833, 13091204281, 3093215881333057, 1363005552434666078217421284621279933627102780881053358473, 1558877695141608507751098941899265975115403618621811951868598809164180630185566719
Offset: 1

Views

Author

John Lien, Jan 10 2005

Keywords

Comments

Next term corresponds to Padovan(1262) and has 154 decimal digits.

References

  • Midhat J. Gazale, "Gnomon: From Pharaohs to Fractals", Princeton University Press, 1999.

Crossrefs

Indices of prime Padovan numbers are A112882.

Programs

  • Mathematica
    Rest[Select[LinearRecurrence[{0,1,1},{1,1,2},1000],PrimeQ]] (* Harvey P. Dale, Mar 31 2012 *)

Extensions

More terms from Robert G. Wilson v, Jan 14 2005

A152870 Indices of primes in the Padovan sequence A000931.

Original entry on oeis.org

8, 9, 10, 12, 13, 19, 24, 35, 42, 89, 133, 474, 671, 1267, 1578, 2008, 2215, 2294, 4168, 5558, 6572, 8566, 11235, 18742, 35839, 44264, 536490, 727739
Offset: 1

Views

Author

Roger L. Bagula, Dec 14 2008

Keywords

Crossrefs

Programs

  • Mathematica
    a[0] = 1; a[1] = 0; a[2] = 0;
    a[n_] := a[n] = a[n - 2] + a[n - 3];
    Flatten[Table[If[PrimeQ[a[n]], n, {}], {n, 0, 10000}]]
  • PARI
    v=[1,1,1];for(n=8,1e4,v=[v[2],v[3],v[1]+v[2]];if(ispseudoprime(v[3]),print1(n", "))) \\ Charles R Greathouse IV, Nov 07 2011

Formula

a(n) = A112882(n) + 5. - Amiram Eldar, Nov 10 2024

Extensions

a(23)-a(26) from Charles R Greathouse IV, Nov 07 2011
a(27)-a(28) calculated from the data at A112882 by Amiram Eldar, Nov 10 2024
Showing 1-2 of 2 results.