OFFSET
0,7
COMMENTS
EXAMPLE
1, 0, 1/2, -1/2, 1/4, -1/4, 3/4, -3/4, -11/8, 11/8, 113/8, -113/8, ...
MATHEMATICA
max = 30; p[0, _] = 1; p[n_, x_] := (1+x)*((1+x)^(n-1)+x^(n-1))/2; t = Total /@ Inverse @ Table[Coefficient[p[n, x], x, k], {n, 0, max+2}, {k, 0, max+2}]; a[n_] := t[[n+1]] // Numerator; Table[a[n], {n, 0, max}]
CROSSREFS
KEYWORD
sign,frac,easy
AUTHOR
Jean-François Alcover and Paul Curtz, Dec 20 2013
STATUS
approved