OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for the first 50 rows, flattened
Vladimir Kruchinin, D. V. Kruchinin, Composita and their properties, arXiv:1103.2582 [math.CO], 2013.
FORMULA
R(n,k,m) = (n!/(k-1)!) * Sum_{i=0..(n-k)} (m^i/i!)*binomial(2*(n-i)-k-1,n-i-1)/(n-i), k>0, m=3, R(n,0,1)=3^n.
EXAMPLE
[1]
[3,1]
[9,8,1]
[27,57,15,1]
[81,480,186,24,1]
[243,5505,2550,450,35,1]
[729,87048,42795,8760,915,48,1]
[2187,1780569,887733,194355,23625,1659,63,1]
MATHEMATICA
R[n_, k_, m_] := (n!/(k - 1)!)*Sum[m^i/i!*Binomial[2*(n - i) - k - 1, n - i - 1]/(n - i), {i, 0, n - k}]; R[n_, 0, m_] = 3^n; Table[R[n, k, 3], {n, 0, 10}, {k, 0, n}] // Flatten (* G. C. Greubel, Jul 23 2017 *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Vladimir Kruchinin, Feb 07 2011
STATUS
approved