OFFSET
2,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 2..1211
EXAMPLE
a(2) = 3: aaabbb, aabbba, abbbaa.
a(3) = 18: aaaaaabbb, aaaaabbba, aaaabbbaa, aaabaaabb, aaabbaaab, aaabbbaaa, aaabbbbbb, aabaaabba, aabbaaaba, aabbbaaaa, aabbbabbb, aabbbbbba, abaaabbaa, abbaaabaa, abbbaaaaa, abbbaabbb, abbbabbba, abbbbbbaa.
MAPLE
b:= (n, k)-> `if`(n=0, 1, k/n*add(binomial(3*n, j)*(n-j)*(k-1)^j, j=0..n-1)):
a:= n-> (k-> add((-1)^i*b(n, k-i)/(i!*(k-i)!), i=0..k))(2):
seq(a(n), n=2..25);
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Oct 26 2018
STATUS
approved