A351057 G.f. A(x) satisfies: A(x) = 1 + x + x^2 * A(x/(1 - 6*x)) / (1 - 6*x).
1, 1, 1, 7, 49, 349, 2593, 20755, 184609, 1851289, 20735041, 253471039, 3310505425, 45630322741, 660993079393, 10065000586507, 161262522401089, 2717539655666353, 48053169836707969, 888408313419305719, 17108882037936283249, 342144175940842590349, 7089944927940141776545
Offset: 0
Keywords
Programs
-
Mathematica
nmax = 22; A[] = 0; Do[A[x] = 1 + x + x^2 A[x/(1 - 6 x)]/(1 - 6 x) + O[x]^(nmax + 1) // Normal, nmax + 1]; CoefficientList[A[x], x] a[0] = a[1] = 1; a[n_] := a[n] = Sum[Binomial[n - 2, k] 6^k a[n - k - 2], {k, 0, n - 2}]; Table[a[n], {n, 0, 22}]
Formula
a(0) = a(1) = 1; a(n) = Sum_{k=0..n-2} binomial(n-2,k) * 6^k * a(n-k-2).
Comments