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.

A181503 Slowest-growing sequence of primes p where 1/(p+1) sums to 1 without actually reaching it.

Original entry on oeis.org

2, 3, 5, 7, 11, 29, 127, 1931, 309121, 47777896349, 76090912606600214447, 120621395443859821620817698234224534627, 63813688766771960235613705494151343867425896610637722399417500492543759703
Offset: 1

Views

Author

Aaron Meyerowitz, Oct 24 2010

Keywords

Comments

The sum of 1/(p+1) over p = 2, 3, 5, 7, 11, 23 = A046689 is exactly 1.

Crossrefs

Similar to A075442. See also A046689.

Programs

  • Mathematica
    a[n_] := a[n] = Block[{sm = Sum[1/(a[i] + 1), {i, n - 1}]}, NextPrime[ Max[ a[n - 1], 1/(1 - sm)]]]; a[0] = 1; Array[a, 15] (* Robert G. Wilson v, Oct 27 2010 *)

Extensions

a(12) onwards from Robert G. Wilson v, Oct 27 2010