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.

A152445 a(0) = a(1) = 1. For n >= 2, a(n) = the smallest prime >= a(n-1)*a(n-2).

Original entry on oeis.org

1, 1, 2, 2, 5, 11, 59, 653, 38543, 25168589, 970072925867, 24415366771173991757, 23684686279828682858246730078719, 578270302382209771209755703072864217352250067119367
Offset: 0

Views

Author

Leroy Quet, Dec 04 2008

Keywords

Crossrefs

Programs

  • Maple
    A152445 := proc(n) option remember ; if n <= 1 then 1; else nextprime(procname(n-1)*procname(n-2)-1) ; fi; end: for n from 0 to 15 do printf("%d,",A152445(n)) ; od; # R. J. Mathar, Dec 05 2008
  • Mathematica
    a = {1, 1, 2, 2}; Do[AppendTo[a, Prime[PrimePi[a[[ -1]]*a[[ -2]]] + 1]], {7}]; a (* Stefan Steinerberger, Dec 06 2008 *)
    nxt[{a_,b_}]:={b,NextPrime[a*b-1]}; NestList[nxt,{1,1},15][[All,1]] (* Harvey P. Dale, Jun 30 2020 *)

Extensions

Extended beyond a(7) by R. J. Mathar, Stefan Steinerberger and Ray Chandler, Dec 05 2008

A382261 a(n) = floor(x^(phi^n)), where phi = (1+sqrt(5))/2 and x is the constant A382260.

Original entry on oeis.org

2, 3, 7, 23, 163, 3803, 620549, 2359981439, 1464484123012601, 3456155348019933976288373, 5061484633840283809323162088349619180781, 17493277186167814180104995425523045477935447066389138909089293633
Offset: 1

Views

Author

Thomas Scheuerle, Mar 19 2025

Keywords

Comments

Conjecture: All terms are prime numbers. For details see A382260.

Crossrefs

Cf. A090253 ( similar growth ).

Formula

nextprime(a(n-2)*a(n-1)) <= a(n) < nextprime((a(n-2)+1)*a(n-1)).
Showing 1-2 of 2 results.