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!)
A307464 Number of Catalan words of length n avoiding the pattern 000. 3
1, 1, 2, 4, 9, 19, 42, 90, 197, 425, 926, 2004, 4357, 9443, 20510, 44482, 96569, 209505, 454730, 986676, 2141361, 4646659, 10084066, 21882682, 47488221, 103052201, 223634182, 485302564, 1053152909, 2285426419, 4959582582, 10762708930, 23356030257, 50684574465 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
J.-L. Baril, S. Kirgizov, V. Vanjovszki, Descent distribution on Catalan words avoiding a pattern of length at most three, Disc. Math. 341 (2018) 2608-2615, Table 2.
FORMULA
a(n) = A125691(n)-2*A125691(n-2).
G.f.: (1-2*x^2)/(1-x-3*x^2+x^3).
MAPLE
(1-2*x^2)/(1-x-3*x^2+x^3) ;
taylor(%, x=0, 30) ;
gfun[seriestolist](%) ;
MATHEMATICA
LinearRecurrence[{1, 3, -1}, {1, 1, 2}, 40] (* Harvey P. Dale, Aug 06 2019 *)
CROSSREFS
Sequence in context: A036622 A001384 A089941 * A127681 A192923 A192673
KEYWORD
nonn,easy
AUTHOR
R. J. Mathar, Apr 09 2019
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 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)