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.

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

This page as a plain text file.
%I A120137 #16 Sep 10 2023 10:29:15
%S A120137 8,12,18,27,41,61,92,138,207,310,465,698,1047,1570,2355,3533,5299,
%T A120137 7949,11923,17885,26827,40241,60361,90542,135813,203719,305579,458368,
%U A120137 687552,1031328,1546992,2320488,3480732,5221098,7831647,11747471,17621206
%N A120137 a(n) = 8 + floor( (1 + Sum_{j=1..n-1} a(j)) / 2).
%H A120137 G. C. Greubel, <a href="/A120137/b120137.txt">Table of n, a(n) for n = 1..1000</a>
%t A120137 a[n_]:= a[n]= 8 +Floor[(1 +Sum[a[k], {k,n-1}])/2];
%t A120137 Table[a[n], {n,60}] (* _G. C. Greubel_, May 08 2023 *)
%t A120137 nxt[{t_,a_}]:=Module[{c=8+Floor[(1+t)/2]},{t+c,c}]; NestList[nxt,{8,8},40][[;;,2]] (* _Harvey P. Dale_, Sep 10 2023 *)
%o A120137 (SageMath)
%o A120137 @CachedFunction
%o A120137 def A120137(n): return 8 +(1 +sum(A120137(k) for k in range(1,n)))//2
%o A120137 [A120137(n) for n in range(1,60)] # _G. C. Greubel_, May 08 2023
%Y A120137 Cf. A073941, A072493, A112088, A120134 - A120136, A120138 - A120209.
%K A120137 nonn
%O A120137 1,1
%A A120137 _Graeme McRae_, Jun 10 2006