login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A143457 Expansion of 1/(x^k*(1-x-3*x^(k+1))) for k=6. 2
1, 4, 7, 10, 13, 16, 19, 22, 34, 55, 85, 124, 172, 229, 295, 397, 562, 817, 1189, 1705, 2392, 3277, 4468, 6154, 8605, 12172, 17287, 24463, 34294, 47698, 66160, 91975, 128491, 180352, 253741, 356623, 499717, 698197, 974122, 1359595, 1900651 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

a(n) is also the number of length n quaternary words with at least 6 0-digits between any other digits.

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000

FORMULA

G.f.: 1/(x^6*(1-x-3*x^7)).

MAPLE

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);

MATHEMATICA

Series[1/(1-x-3*x^7), {x, 0, 55}] // CoefficientList[#, x]& // Drop[#, 6]& (* Jean-Fran├žois Alcover, Feb 13 2014 *)

CROSSREFS

6th column of A143461.

Sequence in context: A004084 A121381 A310680 * A046956 A327139 A198265

Adjacent sequences:  A143454 A143455 A143456 * A143458 A143459 A143460

KEYWORD

nonn,easy

AUTHOR

Alois P. Heinz, Aug 16 2008

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 24 02:52 EDT 2021. Contains 347620 sequences. (Running on oeis4.)