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 A049778 #32 Sep 08 2022 08:44:58 %S A049778 1,3,9,17,32,50,78,110,155,205,271,343,434,532,652,780,933,1095,1285, %T A049778 1485,1716,1958,2234,2522,2847,3185,3563,3955,4390,4840,5336,5848, %U A049778 6409,6987,7617,8265,8968,9690,10470,11270,12131 %N A049778 a(n) = Sum_{k=1..floor((n+1)/2)} T(n,2k-1), array T as in A049777. %C A049778 Principal diagonal of the convolution array A213849. - _Clark Kimberling_, Jul 04 2012 %H A049778 G. C. Greubel, <a href="/A049778/b049778.txt">Table of n, a(n) for n = 1..1000</a> %H A049778 <a href="/index/Rec#order_06">Index entries for linear recurrences with constant coefficients</a>, signature (2,1,-4,1,2,-1). %F A049778 G.f.: x*(1 + x + 2*x^2)/((1-x)^4*(1+x)^2). Pairwise sums of A023855. - _Ralf Stephan_, May 06 2004 %F A049778 a(n) = Sum_{k=1..n} k*ceiling(k/2). - _Vladeta Jovovic_, Apr 29 2006 %F A049778 Row sums of triangle A095800^2. - _Gary W. Adamson_, Dec 12 2007 %F A049778 a(n) = (3 + 10*n + 18*n^2 + 8*n^3 - 3*(-1)^n*(1 + 2*n))/48. - _R. J. Mathar_, Mar 03 2011 %F A049778 From _G. C. Greubel_, Dec 12 2019: (Start) %F A049778 a(n) = m*(3*(n-1)*(n+2) - (m+1)*(4*m-7))/6, where m = floor((n+1)/2). %F A049778 E.g.f.: ( (3+36*x+42*x^2+8*x^3)*exp(x) - 3*(1-2*x)*exp(-x) )/48. (End) %p A049778 seq( (3 +10*n +18*n^2 +8*n^3 -3*(-1)^n*(1+2*n))/48, n=1..50); # _G. C. Greubel_, Dec 12 2019 %t A049778 Table[Floor[(n+1)/2]*(3*(n-1)*(n+2) -(1+Floor[(n+1)/2])*(4*Floor[(n+1)/2]-7))/6, {n,50}] (* _G. C. Greubel_, Dec 12 2019 *) %o A049778 (PARI) vector(50, n, (3 +10*n +18*n^2 +8*n^3 -3*(-1)^n*(1+2*n))/48) \\ _G. C. Greubel_, Dec 12 2019 %o A049778 (Magma) [(3 +10*n +18*n^2 +8*n^3 -3*(-1)^n*(1+2*n))/48: n in [1..50]]; // _G. C. Greubel_, Dec 12 2019 %o A049778 (Sage) [(3 +10*n +18*n^2 +8*n^3 -3*(-1)^n*(1+2*n))/48 for n in (1..50)] # _G. C. Greubel_, Dec 12 2019 %o A049778 (GAP) List([1..50], n-> (3 +10*n +18*n^2 +8*n^3 -3*(-1)^n*(1+2*n))/48); # _G. C. Greubel_, Dec 12 2019 %Y A049778 Cf. A023855, A049777, A095800, A213849. %K A049778 nonn %O A049778 1,2 %A A049778 _Clark Kimberling_