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.

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

Original entry on oeis.org

16, 24, 36, 54, 81, 121, 182, 273, 409, 614, 921, 1381, 2072, 3108, 4662, 6993, 10489, 15734, 23601, 35401, 53102, 79653, 119479, 179219, 268828, 403242, 604863, 907295, 1360942, 2041413, 3062120, 4593180, 6889770, 10334655, 15501982
Offset: 1

Views

Author

Graeme McRae, Jun 10 2006

Keywords

Crossrefs

Programs

  • Mathematica
    Nest[Append[#,16+Floor[Total[#]/2]]&,{16},40]  (* Harvey P. Dale, Apr 20 2011 *)
  • SageMath
    @CachedFunction
    def A120142(n): return 16 + (sum(A120142(k) for k in range(1,n)))//2
    [A120142(n) for n in range(1,60)] # G. C. Greubel, May 11 2023

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

Original entry on oeis.org

19, 28, 42, 63, 95, 142, 213, 320, 480, 720, 1080, 1620, 2430, 3645, 5467, 8201, 12301, 18452, 27678, 41517, 62275, 93413, 140119, 210179, 315268, 472902, 709353, 1064030, 1596045, 2394067, 3591101, 5386651, 8079977, 12119965, 18179948
Offset: 1

Views

Author

Graeme McRae, Jun 10 2006

Keywords

Crossrefs

Programs

  • Mathematica
    a[n_]:= a[n]= 19 +Quotient[Sum[a[k], {k,n-1}], 2];
    Table[a[n], {n,60}] (* G. C. Greubel, May 14 2023 *)
  • SageMath
    @CachedFunction
    def A120144(n): return 19 + sum(A120144(k) for k in range(1,n))//2
    [A120144(n) for n in range(1,61)] # G. C. Greubel, May 14 2023
Showing 1-2 of 2 results.