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!)
A174127 Triangle T(n, k) = (n-k)^3 * binomial(n-1, k-1)^3 with T(n, 0) = T(n, n) = 1, read by rows. 2

%I #6 Feb 11 2021 02:46:12

%S 1,1,1,1,1,1,1,8,8,1,1,27,216,27,1,1,64,1728,1728,64,1,1,125,8000,

%T 27000,8000,125,1,1,216,27000,216000,216000,27000,216,1,1,343,74088,

%U 1157625,2744000,1157625,74088,343,1,1,512,175616,4741632,21952000,21952000,4741632,175616,512,1

%N Triangle T(n, k) = (n-k)^3 * binomial(n-1, k-1)^3 with T(n, 0) = T(n, n) = 1, read by rows.

%C This triangle sequence is part of a class of triangles defined by T(n, k, q) = (n-k)^q * binomial(n-1, k-1)^q with T(n, 0) = T(n, n) = 1 and have row sums Sum_{k=0..n} T(n, k, q) = 2 - [n=0] + Sum_{k=1..n-1} k^q * binomial(n-1, k)^q. - _G. C. Greubel_, Feb 11 2021

%H G. C. Greubel, <a href="/A174127/b174127.txt">Rows n = 0..100 of the triangle, flattened</a>

%F Let c(n) = Product_{i=2..n} (i-1)^3 for n > 2 otherwise 1. The number triangle is given by T(n, k) = c(n)/(c(k)*c(n-k)).

%F From _G. C. Greubel_, Feb 11 2021: (Start)

%F T(n, k) = (n-k)^3 * binomial(n-1, k-1)^3 with T(n, 0) = T(n, n) = 1.

%F Sum_{k=0..n} T(n, k) = 2 + (n-1)^3*A000172(n-2) - [n=0]. (End)

%e Triangle begins as:

%e 1;

%e 1, 1;

%e 1, 1, 1;

%e 1, 8, 8, 1;

%e 1, 27, 216, 27, 1;

%e 1, 64, 1728, 1728, 64, 1;

%e 1, 125, 8000, 27000, 8000, 125, 1;

%e 1, 216, 27000, 216000, 216000, 27000, 216, 1;

%e 1, 343, 74088, 1157625, 2744000, 1157625, 74088, 343, 1;

%e 1, 512, 175616, 4741632, 21952000, 21952000, 4741632, 175616, 512, 1;

%t (* First program *)

%t c[n_]:= If[n<2, 1, Product[(i-1)^3, {i,2,n}]];

%t T[n_, k_]:= c[n]/(c[k]*c[n-k]);

%t Table[T[n, k], {n,0,12}, {k,0,n}]//Flatten

%t (* Second program *)

%t T[n_, k_, q_]:= If[k==0 || k==n, 1, (n-k)^q*Binomial[n-1, k-1]^q];

%t Table[T[n,k,3], {n,0,12}, {k,0,n}]//Flatten (* _G. C. Greubel_, Feb 10 2021 *)

%o (Sage)

%o def T(n,k,q): return 1 if (k==0 or k==n) else (n-k)^q*binomial(n-1,k-1)^q

%o flatten([[T(n,k,3) for k in (0..n)] for n in (0..12)]) # _G. C. Greubel_, Feb 11 2021

%o (Magma)

%o T:= func< n,k,q | k eq 0 or k eq n select 1 else (n-k)^q*Binomial(n-1,k-1)^q >;

%o [T(n,k,3): k in [0..n], n in [0..12]]; // _G. C. Greubel_, Feb 11 2021

%Y Cf. A155865 (q=1), A174126 (q=2), this sequence (q=3).

%Y Cf. A000172.

%K nonn,tabl,easy

%O 0,8

%A _Roger L. Bagula_, Mar 09 2010

%E Edited by _G. C. Greubel_, Feb 11 2021

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 3 19:11 EDT 2024. Contains 373087 sequences. (Running on oeis4.)