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.

A324136 Number of permutations of [n] that avoid the shuffle pattern s-k-t, where s = 12 and t = 1234.

Original entry on oeis.org

1, 1, 2, 6, 24, 120, 720, 5025, 39926, 355538, 3505864, 37917861, 446320694, 5680229144, 77727692650, 1138088663183, 17755248475106, 294036917039062, 5151744388600780, 95211200654845109, 1851125559811374946, 37769517149637845508, 806945623696758245062
Offset: 0

Views

Author

N. J. A. Sloane, Feb 16 2019

Keywords

Crossrefs

Formula

Let b(n) = A117158(n) = number of permutations avoiding a consecutive 1234 pattern. Then a(n) = Sum_{i = 0..n-1} binomial(n-1,i) (a(n-1-i) + b(i) * a(n-1-i) - b(n-1-i)) for n >= 1 with a(0) = b(0) = 1. [See the recurrence for C_n on p. 220 of Kitaev (2005).] - Petros Hadjicostas, Oct 30 2019

Extensions

More terms from Petros Hadjicostas, Oct 30 2019