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.

A120135 a(n) = 5 + floor((1 + Sum_{j=1..n-1} a(j)) / 2).

Original entry on oeis.org

5, 8, 12, 18, 27, 40, 60, 90, 135, 203, 304, 456, 684, 1026, 1539, 2309, 3463, 5195, 7792, 11688, 17532, 26298, 39447, 59171, 88756, 133134, 199701, 299552, 449328, 673992, 1010988, 1516482, 2274723, 3412084, 5118126, 7677189, 11515784
Offset: 1

Views

Author

Graeme McRae, Jun 10 2006

Keywords

Crossrefs

Programs

  • Mathematica
    a[n_]:= a[n]= 5 +Floor[(1+Sum[a[k], {k,n-1}])/2];
    Table[a[n], {n,60}] (* G. C. Greubel, May 07 2023 *)
  • SageMath
    @CachedFunction
    def A120135(n): return 5 + (1 + sum(A120135(k) for k in range(1,n)))//2
    [A120135(n) for n in range(1,61)] # G. C. Greubel, May 07 2023

Formula

a(n) ~ c * (3/2)^n, where c = 3.514931952760438754899508881646642282344325354834703833076259269449577... - Vaclav Kotesovec, May 07 2023