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 A290912 #23 Sep 18 2022 16:17:40 %S A290912 0,1,4,16,68,287,1208,5088,21432,90273,380236,1601584,6745996, %T A290912 28414655,119684720,504121280,2123397744,8943915201,37672461204, %U A290912 158679314512,668369521108,2815224014047,11857940853032,49946562182048,210378775263272,886131640451169 %N A290912 a(n) = (1/6)*A290911(n). %H A290912 Clark Kimberling, <a href="/A290912/b290912.txt">Table of n, a(n) for n = 0..1000</a> %H A290912 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (4, 0, 4, -1) %F A290912 G.f.: x/(1 - 4 x - 4 x^3 + x^4). [Corrected by _A.H.M. Smeets_, Sep 12 2018] %F A290912 a(n) = 4*a(n-1) + 4*a(n-3) - a(n-4). %F A290912 a(n) = (1/6)*A290911(n) for n >= 0. %p A290912 seq(coeff(series(x/(x^4-4*x^3-4*x+1),x,n+1), x, n), n = 0 .. 30); # _Muniru A Asiru_, Sep 12 2018 %t A290912 z = 60; s = x/(1 - x)^2; p = 1 - 6 s^2; %t A290912 Drop[CoefficientList[Series[s, {x, 0, z}], x], 1] (* A000027 *) %t A290912 u = Drop[CoefficientList[Series[1/p, {x, 0, z}], x], 1] (* A290911 *) %t A290912 u/6 (* A290912 *) %t A290912 LinearRecurrence[{4,0,4,-1},{0,1,4,16},30] (* _Harvey P. Dale_, Sep 18 2022 *) %o A290912 (PARI) x='x+O('x^33); concat(0, Vec(x/(1-4*x-4*x^3+x^4))) \\ _Altug Alkan_, Sep 12 2018 %o A290912 (GAP) a:=[0,1,4,16];; for n in [5..30] do a[n]:=4*a[n-1]+4*a[n-3]-a[n-4]; od; a; # _Muniru A Asiru_, Sep 12 2018 %o A290912 (Magma) I:=[0,1,4,16]; [n le 4 select I[n] else 4*Self(n-1)+4*Self(n-3)-Self(n-4): n in [1..30]]; // _Vincenzo Librandi_, Sep 13 2018 %Y A290912 Cf. A000027, A290890, A290911. %K A290912 nonn,easy %O A290912 0,3 %A A290912 _Clark Kimberling_, Aug 18 2017