login
A108742
Row sums of a triangle related to the Jacobsthal polynomials.
2
1, 2, 3, 7, 12, 24, 45, 86, 164, 312, 595, 1133, 2159, 4113, 7836, 14929, 28442, 54187, 103235, 196680, 374708, 713881, 1360062, 2591144, 4936560, 9404967, 17918025, 34136815, 65036305, 123904968, 236059553, 449732674, 856815475, 1632375855
OFFSET
0,2
COMMENTS
Row sums of A108756.
FORMULA
G.f.: (1 + x - x^2)/(1 - x - 2*x^2 + x^4).
a(n) = a(n - 1) + 2*a(n - 2) - a(n - 4) for n >= 4.
a(n) = Sum_{0 <= k <= n} binomial(floor((n + k + 1)/2) + k, floor((n + k)/2) - k).
MATHEMATICA
LinearRecurrence[{1, 2, 0, -1}, {1, 2, 3, 7}, 40] (* Harvey P. Dale, Feb 21 2016 *)
CROSSREFS
Sequence in context: A000630 A036538 A341407 * A018240 A090596 A355385
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Jun 22 2005
STATUS
approved