A320548 Number of partitions of n into parts of exactly six sorts which are introduced in ascending order such that sorts of adjacent parts are different.
1, 16, 157, 1223, 8331, 52078, 307123, 1738442, 9552826, 51357799, 271624228, 1418856967, 7341442171, 37708533544, 192586163135, 979219603193, 4961598120154, 25071026570558, 126410385741982, 636282269651863, 3198360710675384, 16059685006324807
Offset: 6
Keywords
Links
- Alois P. Heinz, Table of n, a(n) for n = 6..1000
Programs
-
Maple
b:= proc(n, i, k) option remember; `if`(n=0 or i=1, k^(n-1), b(n, i-1, k) +`if`(i>n, 0, k*b(n-i, i, k))) end: A:= (n, k)-> `if`(n=0, 1, `if`(k<2, k, k*b(n$2, k-1))): a:= n-> (k-> add(A(n, k-i)*(-1)^i/(i!*(k-i)!), i=0..k))(6): seq(a(n), n=6..40);
Formula
a(n) ~ 5^(n-1) / (5! * QPochhammer[1/5]). - Vaclav Kotesovec, Oct 25 2018