OFFSET
0,4
COMMENTS
The definition of Q-residue is given at A193649.
MATHEMATICA
f[n_, x_] := Fibonacci[n, x];
q[n_, k_] := Coefficient[(x + 1)^n, x, k]; (* Pascal's triangle *)
r[0] = 1; r[k_] := Sum[q[k - 1, i] r[k - 1 - i], {i, 0, k - 1}];
p[n_, k_] := Coefficient[f[n, x], x, k];
v[n_] := Sum[p[n, k] r[n - k], {k, 0, n}]
Table[v[n], {n, 0, 22}] (* A193664 *)
TableForm[Table[q[i, k], {i, 0, 4}, {k, 0, i}]]
Table[r[k], {k, 0, 8}] (* A000110 *)
TableForm[Table[p[n, k], {n, 0, 4}, {k, 0, n}]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Aug 02 2011
STATUS
approved