OFFSET
0,2
COMMENTS
Previous name: Transform of A000292 without the initial 0 by the T_{0,0} transformation (see link).
Partial sums of A137229. - R. J. Mathar, Nov 04 2008
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Richard Choulet, Curtz-like transformation.
Index entries for linear recurrences with constant coefficients, signature (5,-9,8,-4,1).
FORMULA
O.g.f: 1/((1-z)^2*(1 - 3*z + 2*z^2 - z^3)).
a(n) = -(n+3) + Sum_{j=0..2} (-1)^j*(4-j)*A095263(n-j). - G. C. Greubel, Apr 19 2021
MATHEMATICA
LinearRecurrence[{5, -9, 8, -4, 1}, {1, 5, 16, 43, 107}, 41] (* G. C. Greubel, Apr 19 2021 *)
CoefficientList[Series[1/((1-x)^2(1-3x+2x^2-x^3)), {x, 0, 30}], x] (* Harvey P. Dale, Jun 07 2021 *)
PROG
(Magma) I:=[1, 5, 16, 43, 107]; [n le 5 select I[n] else 5*Self(n-1) -9*Self(n-2) +8*Self(n-3) -4*Self(n-4) +Self(n-5): n in [1..41]]; // G. C. Greubel, Apr 19 2021
(Sage)
@CachedFunction
def A095263(n): return sum(binomial(n+j+2, 3*j+2) for j in (0..n//2))
[A137234(n) for n in (0..40)] # G. C. Greubel, Apr 19 2021
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Richard Choulet, Apr 05 2008
STATUS
approved