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 A271391 #26 May 07 2024 08:05:41 %S A271391 1,1,5,9,13,25,25,49,41,81,61,121,85,169,113,225,145,289,181,361,221, %T A271391 441,265,529,313,625,365,729,421,841,481,961,545,1089,613,1225,685, %U A271391 1369,761,1521,841,1681,925,1849,1013,2025,1105,2209,1201,2401,1301,2601,1405 %N A271391 Expansion of (1 + x + 2*x^2 + 6*x^3 + x^4 + x^5)/(1 - x^2)^3. %C A271391 Centered square numbers alternating with odd squares. %H A271391 Jinyuan Wang, <a href="/A271391/b271391.txt">Table of n, a(n) for n = 0..1000</a> %H A271391 <a href="/index/Rec#order_06">Index entries for linear recurrences with constant coefficients</a>, signature (0,3,0,-3,0,1). %F A271391 E.g.f.: ((2 + x*(2 + x))*cosh(x) + x*(3 + 2*x)*sinh(x))/2. %F A271391 a(n) = 3*a(n-2) - 3*a(n-4) + a(n-6). %F A271391 a(n) = (3*n^2 + 2*n + 2 + (-1)^n*(-n^2 + 2*n + 2))/4. %F A271391 a(2n) = A001844(n). a(2n+1) = (2n+1)^2. %e A271391 Illustration of initial terms: %e A271391 o %e A271391 o o o o o o o o o %e A271391 o o o o o o o o o o o o o o o o o %e A271391 o o o o o o o o o o o o o o o o o o o o o o o o o %e A271391 o o o o o o o o o o o o o o o o o %e A271391 o o o o o o o o o %e A271391 o %e A271391 0 1 2 3 4 5 6 %p A271391 a:=series((1+x+2*x^2+6*x^3+x^4+x^5)/(1-x^2)^3,x=0,55): seq(coeff(a,x,n),n=0..54); # _Paolo P. Lava_, Mar 27 2019 %t A271391 LinearRecurrence[{0, 3, 0, -3, 0, 1}, {1, 1, 5, 9, 13, 25}, 55] %t A271391 Table[(3 n^2 + 2 n + 2 + (-1)^n (-n^2 + 2 n + 2))/4, {n, 0, 54}] %o A271391 (PARI) x='x+O('x^99); Vec((1+x+2*x^2+6*x^3+x^4+x^5)/(1-x^2)^3) \\ _Altug Alkan_, Apr 06 2016 %Y A271391 Cf. A001844, A016754. %K A271391 nonn,easy %O A271391 0,3 %A A271391 _Ilya Gutkovskiy_, Apr 06 2016