login
Q-residue of the triangle p(n,k)=floor((n+1)/(n+k+2)/2), 0<=k<=n, where Q is the triangular array (t(i,j)) given by t(i,j)=1. (See Comments.)
2

%I #10 Feb 19 2015 14:48:30

%S 1,7,28,94,275,765,2002,5116,12625,30715,73040,172026,398671,917497,

%T 2086222,4718584,10573133,23592951,52254028

%N Q-residue of the triangle p(n,k)=floor((n+1)/(n+k+2)/2), 0<=k<=n, where Q is the triangular array (t(i,j)) given by t(i,j)=1. (See Comments.)

%C For the definition of Q-residue, see A193649.

%F Conjecture: G.f.: ( -1-2*x+4*x^2+4*x^3-8*x^5 ) / ( (1+x)*(2*x+1)*(x-1)^2*(2*x-1)^3 ). - _R. J. Mathar_, Feb 19 2015

%t q[n_, k_] := 1;

%t r[0] = 1; r[k_] := Sum[q[k - 1, i] r[k - 1 - i], {i, 0, k - 1}]

%t p[n_, k_] := Floor[(n + 1) (n + k + 2)/2]

%t v[n_] := Sum[p[n, k] r[n - k], {k, 0, n}]

%t Table[v[n], {n, 0, 16}] (* A193654 *)

%t TableForm[Table[q[i, k], {i, 0, 4}, {k, 0, i}]]

%t Table[r[k], {k, 0, 8}] (* 2^k *)

%t TableForm[Table[p[n, k], {n, 0, 4}, {k, 0, n}]]

%Y Cf. A193649, A193655.

%K nonn

%O 0,2

%A _Clark Kimberling_, Aug 02 2011