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.

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

Original entry on oeis.org

2, 3, 4, 5, 7, 9, 12, 16, 21, 28, 38, 50, 67, 89, 119, 159, 212, 282, 376, 502, 669, 892, 1189, 1586, 2114, 2819, 3759, 5012, 6682, 8910, 11880, 15840, 21120, 28160, 37546, 50062, 66749, 88999, 118665, 158220, 210960, 281280, 375040, 500053, 666738
Offset: 1

Views

Author

Graeme McRae, Jun 10 2006

Keywords

Crossrefs

Programs

  • Mathematica
    f[s_] := Append[s, Floor[(7 + Plus @@ s)/3]]; Nest[f, {2}, 44] (*  Robert G. Wilson v, Jul 08 2006 *)
  • SageMath
    @CachedFunction
    def A120149(n): return 2 + (1+sum(A120149(k) for k in range(1,n)))//3
    [A120149(n) for n in range(1, 61)] # G. C. Greubel, Jun 04 2023

Extensions

More terms from Robert G. Wilson v, Jul 08 2006