OFFSET
3,1
LINKS
Markus Kuba, Alois Panholzer, Stirling permutations containing a single pattern of length three, Australasian Journal of Combinatorics (2019) Vol. 74, No. 2, 216-239.
FORMULA
For k = 2, a(n) = binomial(n*k - 2k + n - 1, n - 1) - (1 / k(n - 1) + 1) binomial((k + 1)(n - 1)/(n - 1))
MATHEMATICA
With[{k = 2}, Table[Binomial[k n + n - 2 k - 1, n - 1] - (1/(k (n - 1) + 1)) Binomial[(k + 1) (n - 1), n - 1], {n, 3, 25}]]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michael De Vlieger, Jun 16 2019
STATUS
approved