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.

A309331 Expansion of (x+x^3+x^5)/(1-x-3*x^3-x^5).

Original entry on oeis.org

0, 1, 1, 2, 5, 9, 16, 32, 61, 114, 219, 418, 792, 1510, 2878, 5473, 10421, 19847, 37776, 71917, 136931, 260680, 496278, 944847, 1798804, 3424569, 6519790, 12412480, 23631034, 44989208, 85651217, 163064109, 310444213, 591028898, 1125210433
Offset: 0

Views

Author

Colin Defant, Jul 23 2019

Keywords

Comments

a(n) is the number of 231-avoiding permutations of length n that have order 1 or 3.

Formula

G.f.: (1-x+x^2)*(1+x+x^2)/(1-x-3*x^3-x^5).