cp's OEIS Frontend

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.

A143457 Expansion of 1/(x^k*(1-x-3*x^(k+1))) for k=6.

This page as a plain text file.
%I A143457 #12 Oct 09 2023 12:31:06
%S A143457 1,4,7,10,13,16,19,22,34,55,85,124,172,229,295,397,562,817,1189,1705,
%T A143457 2392,3277,4468,6154,8605,12172,17287,24463,34294,47698,66160,91975,
%U A143457 128491,180352,253741,356623,499717,698197,974122,1359595,1900651
%N A143457 Expansion of 1/(x^k*(1-x-3*x^(k+1))) for k=6.
%C A143457 a(n) is also the number of length n quaternary words with at least 6 0-digits between any other digits.
%H A143457 Vincenzo Librandi, <a href="/A143457/b143457.txt">Table of n, a(n) for n = 0..1000</a>
%H A143457 <a href="/index/Rec#order_07">Index entries for linear recurrences with constant coefficients</a>, signature (1,0,0,0,0,0,3).
%F A143457 G.f.: 1/(x^6*(1-x-3*x^7)).
%p A143457 a := proc(k::nonnegint) local n,i,j; if k=0 then unapply (4^n,n) else unapply ((Matrix(k+1, (i,j)-> if (i=j-1) or j=1 and i=1 then 1 elif j=1 and i=k+1 then 3 else 0 fi)^(n+k))[1,1], n) fi end(6): seq (a(n), n=0..55);
%t A143457 Series[1/(1-x-3*x^7), {x, 0, 55}] // CoefficientList[#, x]& // Drop[#, 6]& (* _Jean-François Alcover_, Feb 13 2014 *)
%Y A143457 6th column of A143461.
%K A143457 nonn,easy
%O A143457 0,2
%A A143457 _Alois P. Heinz_, Aug 16 2008