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.
%I A117727 #9 Jul 23 2023 20:21:41 %S A117727 1,3,8,18,38,88,188,388,888,1888,3888,8888,18888,38888,88888,188888, %T A117727 388888,888888,1888888,3888888,8888888,18888888,38888888,88888888, %U A117727 188888888,388888888,888888888,1888888888,3888888888,8888888888 %N A117727 Partial sums of A051109. %H A117727 G. C. Greubel, <a href="/A117727/b117727.txt">Table of n, a(n) for n = 0..1000</a> %H A117727 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (1,0,10,-10). %F A117727 a(n) = Sum_{j=0..n} A051109(j). %F A117727 From _G. C. Greubel_, Jul 23 2023: (Start) %F A117727 a(n) = (1/9)*( -8 + 17*b(n) + 35*b(n-1) + 80*b(n-2) ), where b(n) = 10^floor(n/3)*floor((n-1 mod 3)/2). %F A117727 a(n) = a(n-1) + 10*a(n-3) - 10*a(n-4). %F A117727 G.f.: (1 + 2*x + 5*x^2)/((1 - x)*(1 - 10*x^3)). (End) %t A117727 LinearRecurrence[{1,0,10,-10}, {1,3,8,18}, 41] (* _G. C. Greubel_, Jul 23 2023 *) %o A117727 (Magma) I:=[1,3,8,18]; [n le 4 select I[n] else Self(n-1) +10*Self(n-3) -10*Self(n-4): n in [1..40]]; // _G. C. Greubel_, Jul 23 2023 %o A117727 (SageMath) [sum((1 + (j%3)^2)*10^(j//3) for j in range(n+1)) for n in range(41)] # _G. C. Greubel_, Jul 23 2023 %Y A117727 Cf. A051109, A117717. %K A117727 nonn,easy %O A117727 0,2 %A A117727 _N. J. A. Sloane_, Apr 14 2006