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.

A356695 Expansion of x*(1+x-7*x^3-3*x^4+x^5)/(1-2*x^2-9*x^3+3*x^5).

Original entry on oeis.org

1, 1, 2, 4, 10, 24, 53, 132, 310, 711, 1736, 4053, 9475, 22800, 53294, 125667, 299629, 702555, 1661861, 3941889, 9269716, 21941640, 51908768, 122325141, 289466629, 684020046, 1614034607, 3817513449, 9017274205, 21292938474, 50340109313, 118899240972
Offset: 1

Views

Author

R. J. Mathar, Aug 23 2022

Keywords

Comments

Number of Catalan words of length n avoiding the pattern 1111 of length 4.

Crossrefs

Cf. A131572 (length 3).

Formula

G.f.: x*(1+x-7*x^3-3*x^4+x^5)/(1-2*x^2-9*x^3+3*x^5).
a(n) = 2*a(n-2) + 9*a(n-3) - 3*a(n-5). - Wesley Ivan Hurt, Apr 20 2023