login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A269915 Number of ternary strings of length n with maximal run length three containing 1112. 6
1, 5, 21, 80, 287, 993, 3347, 11067, 36055, 116089, 370222, 1171353, 3681375, 11504101, 35772799, 110760185, 341640131, 1050254568, 3218970519, 9839399805, 30002862947, 91284474775, 277176264351, 840067321393, 2541769382014, 7678558044741, 23163047559031 (list; graph; refs; listen; history; text; internal format)
OFFSET
4,2
LINKS
Math StackExchange, Words built with 0,1,2
FORMULA
G.f.: x^4*(x+1)*(x^2+1)*(x^2+x+1)/ ((x^6+3*x^5+5*x^4+5*x^3+3*x^2+x-1) * (2*x^3+2*x^2+2*x-1)).
MATHEMATICA
Drop[CoefficientList[Series[x^4 (x + 1) (x^2 + 1) (x^2 + x + 1)/((x^6 + 3 x^5 + 5 x^4 + 5 x^3 + 3 x^2 + x - 1) (2 x^3 + 2 x^2 + 2 x - 1)), {x, 0, 30}], x], 4] (* Michael De Vlieger, Mar 08 2016 *)
CROSSREFS
Sequence in context: A186244 A255447 A029870 * A273393 A231430 A269916
KEYWORD
nonn
AUTHOR
Marko Riedel, Mar 07 2016
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 18:16 EDT 2024. Contains 371916 sequences. (Running on oeis4.)