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!)
A356696 a(n) = Fibonacci(2n-1) - 2^n + binomial(n,2) + 2. 0
2, 1, 1, 2, 5, 14, 42, 128, 384, 1123, 3204, 8955, 24629, 66913, 180127, 481568, 1280855, 3393644, 8965476, 23633702, 62197602, 163483201, 429300366, 1126514817, 2954438135, 7745187919, 20297902537, 53182073798, 139315427369, 364898425658, 955648284654 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
If n>0, number of Catalan words of length n avoiding the pattern 1234. The unrestricted Catalan words of length n are enumerated by A000108(n-1).
LINKS
Toufik Mansour and Mark Shattuck, Avoidance of classical patterns by Catalan sequences, Filomat 31, No. 3, 543-558 (2017). Corollary 2.5.
FORMULA
G.f.: ( 2-15*x+43*x^2-59*x^3+39*x^4-9*x^5 ) / ( (2*x-1)*(x^2-3*x+1)*(x-1)^3 ).
CROSSREFS
Cf. A000045, A000108, A000325 (avoiding 123), A307464, A307465, A307466.
Sequence in context: A334955 A117848 A025242 * A163982 A246661 A246660
KEYWORD
nonn,easy
AUTHOR
R. J. Mathar, Aug 23 2022
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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)