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!)
A174790 Triangle read by rows: T(n,m) = 1 + ((-1 + binomial(n, m))*(n!)^2)/(m!*(n - m)!). 2
1, 1, 1, 1, 5, 1, 1, 37, 37, 1, 1, 289, 721, 289, 1, 1, 2401, 10801, 10801, 2401, 1, 1, 21601, 151201, 273601, 151201, 21601, 1, 1, 211681, 2116801, 5997601, 5997601, 2116801, 211681, 1, 1, 2257921, 30481921, 124185601, 194745601, 124185601, 30481921, 2257921, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,5
LINKS
FORMULA
T(n,m) = ((n!)^2/(m!*(n - m)!))*binomial(n, m) - ((n!)^2/(m!*(n - m)!)) + 1.
From Stefano Spezia, Dec 18 2018: (Start)
T(n,m) = 1 + ((-1 + binomial(n, m))*(n!)^2)/(m!*(-m + n)!).
T(n,m) = 1 + ((-1 + A007318(n, m))*A001044(n)/(A000142(m)*A000142(-m + n)).
(End)
EXAMPLE
Triangle begins:
1
1 1
1 5 1
1 37 37 1
1 289 721 289 1
1 2401 10801 10801 2401 1
1 21601 151201 273601 151201 21601 1
...
MATHEMATICA
T[n_, m_] := (n!^2/(m!(n - m)!))*Binomial[n, m] - (n!^2/(m!(n - m)!)) + 1; Flatten[Table[Table[T[n, m], {m, 0, n}], {n, 0, 10}]]
PROG
(GAP) Flat(List([0..10], n->List([0..n], m->1 + ((- 1 + Binomial(n, m))*(Factorial(n)^2)/(Factorial(m)*Factorial(-m+n))))
)); # Stefano Spezia, Dec 18 2018
(PARI)
T(n, m)= 1 + ((- 1 + binomial(n, m))*(n!)^2)/(m!*(-m+n)!);
tabl(nn) = for(n=0, nn, for(m=0, n, print1(T(n, m), ", ")); print);
tabl(10) \\ Stefano Spezia, Dec 18 2018
CROSSREFS
Cf. A320329 (row sums).
Sequence in context: A015116 A367380 A322220 * A156691 A246051 A111820
KEYWORD
nonn,tabl
AUTHOR
Roger L. Bagula, Mar 29 2010
EXTENSIONS
Edited by Stefano Spezia, Dec 18 2018
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 May 30 04:46 EDT 2024. Contains 372958 sequences. (Running on oeis4.)