The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A193730 Triangular array: the fusion of polynomial sequences P and Q given by p(n,x) = (2x+1)^n and q(n,x) = (2x+1)^n. 3
1, 2, 1, 4, 8, 3, 8, 28, 30, 9, 16, 80, 144, 108, 27, 32, 208, 528, 648, 378, 81, 64, 512, 1680, 2880, 2700, 1296, 243, 128, 1216, 4896, 10800, 14040, 10692, 4374, 729, 256, 2816, 13440, 36288, 60480, 63504, 40824, 14580, 2187, 512, 6400, 35328, 112896, 229824, 308448, 272160, 151632, 48114, 6561 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
See A193722 for the definition of fusion of two sequences of polynomials or triangular arrays.
Triangle T(n,k), read by rows, given by (2,0,0,0,0,0,0,0,...) DELTA (1,2,0,0,0,0,0,0,0,...) where DELTA is the operator defined in A084938. - Philippe Deléham, Oct 05 2011
LINKS
FORMULA
T(n,k) = 3*T(n-1,k-1) + 2*T(n-1,k) with T(0,0)=T(1,1)=1 and T(1,0)=2. - Philippe Deléham, Oct 05 2011
G.f.: (1-2*x*y)/(1-2*x-3*x*y). - R. J. Mathar, Aug 11 2015
From G. C. Greubel, Nov 20 2023: (Start)
T(n, 0) = A000079(n).
T(n, 1) = A130129(n-1).
T(n, n) = A133494(n).
T(n, n-1) = A199923(n).
Sum_{k=0..n} T(n, k) = A005053(n).
Sum_{k=0..n} (-1)^k * T(n, k) = A165326(n). (End)
EXAMPLE
First six rows:
1;
2, 1;
4, 8, 3;
8, 28, 30, 9;
16, 80, 144, 108, 27;
32, 208, 528, 648, 378, 81;
MATHEMATICA
(* First program *)
z = 8; a = 2; b = 1; c = 2; d = 1;
p[n_, x_] := (a*x + b)^n ; q[n_, x_] := (c*x + d)^n
t[n_, k_] := Coefficient[p[n, x], x^k]; t[n_, 0] := p[n, x] /. x -> 0;
w[n_, x_] := Sum[t[n, k]*q[n + 1 - k, x], {k, 0, n}]; w[-1, x_] := 1
g[n_] := CoefficientList[w[n, x], {x}]
TableForm[Table[Reverse[g[n]], {n, -1, z}]]
Flatten[Table[Reverse[g[n]], {n, -1, z}]] (* A193730 *)
TableForm[Table[g[n], {n, -1, z}]]
Flatten[Table[g[n], {n, -1, z}]] (* A193731 *)
(* Second program *)
T[n_, k_]:= T[n, k]= If[k<0 || k>n, 0, If[n<2, n-k+1, 2*T[n-1, k] + 3*T[n-1, k-1]]];
Table[T[n, k], {n, 0, 12}, {k, 0, n}]//Flatten (* G. C. Greubel, Nov 20 2023 *)
PROG
(Magma)
function T(n, k) // T = A193730
if k lt 0 or k gt n then return 0;
elif n lt 2 then return n-k+1;
else return 2*T(n-1, k) + 3*T(n-1, k-1);
end if;
end function;
[T(n, k): k in [0..n], n in [0..12]]; // G. C. Greubel, Nov 20 2023
(SageMath)
def T(n, k): # T = A193730
if (k<0 or k>n): return 0
elif (n<2): return n-k+1
else: return 2*T(n-1, k) + 3*T(n-1, k-1)
flatten([[T(n, k) for k in range(n+1)] for n in range(13)]) # G. C. Greubel, Nov 20 2023
CROSSREFS
Sequence in context: A254102 A094511 A209060 * A257884 A026204 A059146
KEYWORD
nonn,tabl
AUTHOR
Clark Kimberling, Aug 04 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 4 17:49 EDT 2024. Contains 373102 sequences. (Running on oeis4.)