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!)
A177974 Triangle T(n,k) = n!/(n - k)! + n!/k! - n! read by rows, 0 <= k <= n. 1
1, 1, 1, 1, 2, 1, 1, 3, 3, 1, 1, 4, 0, 4, 1, 1, 5, -40, -40, 5, 1, 1, 6, -330, -480, -330, 6, 1, 1, 7, -2478, -3990, -3990, -2478, 7, 1, 1, 8, -20104, -33264, -36960, -33264, -20104, 8, 1, 1, 9, -181368, -301896, -344736, -344736, -301896, -181368, 9, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,5
LINKS
FORMULA
T(n,k) = n!/(n - k)! + n!/k! - n.
T(n,k) = A155162(n,k) - n!. - Seiichi Manyama, Sep 26 2023
EXAMPLE
Triangle begins:
1;
1, 1;
1, 2, 1;
1, 3, 3, 1;
1, 4, 0, 4, 1;
1, 5, -40, -40, 5, 1;
1, 6, -330, -480, -330, 6, 1;
1, 7, -2478, -3990, -3990, -2478, 7, 1;
1, 8, -20104, -33264, -36960, -33264, -20104, 8, 1;
1, 9, -181368, -301896, -344736, -344736, -301896, -181368, 9, 1;
...
MATHEMATICA
Flatten[Table[Table[n!/(n - k)! + n!/k! - n!, {k, 0, n}], {n, 0, 10}]]
CROSSREFS
Cf. A155162.
Sequence in context: A360335 A370399 A095141 * A095140 A225043 A125605
KEYWORD
sign,tabl
AUTHOR
Roger L. Bagula, May 16 2010
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 April 18 16:22 EDT 2024. Contains 371780 sequences. (Running on oeis4.)