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.

A381858 a(n) is the number of permutations of [n] that avoid 312 and 4321 and whose square avoids 231.

Original entry on oeis.org

1, 1, 2, 5, 12, 26, 56, 125, 279, 618, 1367, 3030, 6720, 14896, 33013, 73173, 162198, 359525, 796900, 1766366, 3915256, 8678393, 19236131, 42637934, 94509351, 209485238, 464335636, 1029225640, 2281335673, 5056707001, 11208471338, 24844197877, 55068541516
Offset: 0

Views

Author

Kassie Archer, Mar 10 2025

Keywords

Programs

  • Mathematica
    LinearRecurrence[{1,1,2,3,2},{1, 1, 2, 5, 12},33] (* James C. McMahon, Mar 10 2025 *)

Formula

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