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.

A118842 Primes of the form ceiling(phi^k).

Original entry on oeis.org

2, 3, 5, 7, 47, 2207
Offset: 1

Views

Author

Eric W. Weisstein, May 01 2006

Keywords

Crossrefs

Cf. A118841.

Programs

  • Mathematica
    Select[Table[Ceiling[GoldenRatio^n],{n,20}],PrimeQ] (* James C. McMahon, Sep 15 2024 *)
  • PARI
    phi=(1+sqrt(5))/2;for(n=1,1e4,if(ispseudoprime(t=ceil(phi^n)),print1(t", "))) \\ Charles R Greathouse IV, Jul 29 2011

Formula

a(n) = A062724(A118841(n)). - R. J. Mathar, Sep 07 2007