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.

A108583 Primes of the form 1 + Product_{j=1..k} b(j), where b(n) = b(n-1) + 2*A005185(n) and b(1) = 2.

Original entry on oeis.org

3, 13, 2593, 2426113
Offset: 0

Views

Author

Roger L. Bagula, Jul 05 2005

Keywords

Comments

Next term contains 886 digits. - G. C. Greubel, Dec 19 2022

Crossrefs

Programs

  • Mathematica
    Hofstadter[n_]:= Hofstadter[n]= If[n<2, 1, Hofstadter[n-Hofstadter[n- 1]] +Hofstadter[n-Hofstadter[n-2]]]; (* A005185 *)
    b[n_]:= b[n]= If[n==1, 2, b[n-1] +2*Hofstadter[n]]; (* A108585 *)
    p[n_]:= p[n]= Product[b[j], {j,n}];
    Select[Table[p[n] +1, {n, 500}], PrimeQ]

Extensions

Edited by G. C. Greubel, Dec 19 2022
Showing 1-1 of 1 results.