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 A053311 #30 Sep 08 2022 08:45:00 %S A053311 1,5,10,19,33,56,93,153,250,407,661,1072,1737,2813,4554,7371,11929, %T A053311 19304,31237,50545,81786,132335,214125,346464,560593,907061,1467658, %U A053311 2374723,3842385,6217112,10059501,16276617,26336122 %N A053311 Partial sums of A000285. %D A053311 A. H. Beiler, Recreations in the Theory of Numbers, Dover, N.Y., pp. 189, 194-196. %D A053311 J. Roberts, Lure of the Integers, Math. Assoc. America, 1992, p. 224. %H A053311 G. C. Greubel, <a href="/A053311/b053311.txt">Table of n, a(n) for n = 0..1000</a> %H A053311 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (2,0,-1). %F A053311 a(n) = a(n-1) + a(n-2) + 4; a(0)=1, a(1)=5; n >= 1. %F A053311 a(n) = 4*F(n+2) + F(n+1) - 4, where F(k) is A000045(k). %F A053311 From _R. J. Mathar_, Apr 29 2013: (Start) %F A053311 G.f.: ( 1+3*x ) / ( (x-1)*(x^2+x-1) ). %F A053311 a(n) = A000071(n+3) + 3*A000071(n+2) = A000285(n+2) - 4. (End) %t A053311 CoefficientList[Series[(1+3*x)/((x-1)*(x^2+x-1)), {x, 0, 50}], x] (* _G. C. Greubel_, May 24 2018 *) %o A053311 (PARI) x='x+O('x^30); Vec((1+3*x)/((x-1)*(x^2+x-1))) \\ _G. C. Greubel_, May 24 2018 %o A053311 (Magma) m:=25; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!((1+3*x)/((x-1)*(x^2+x-1)))); // _G. C. Greubel_, May 24 2018 %Y A053311 Cf. A000285. %Y A053311 a(n) = A101220(4, 1, n+1). %K A053311 easy,nonn %O A053311 0,2 %A A053311 _Barry E. Williams_, Mar 06 2000