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!)
A104985 Row sums of triangle A104984. 2
1, 0, -2, -6, -20, -92, -554, -4002, -33096, -306440, -3135766, -35134670, -427878628, -5628940084, -79572364498, -1203168642362, -19379896959776, -331331041788640, -5993029816637262, -114348894263852326, -2295445815821635932, -48362099044178487564 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
A104984 equals the matrix inverse of A104980.
LINKS
FORMULA
a(n) = Sum_{k=0..n} A104984(n, k).
MATHEMATICA
A003319[n_]:= A003319[n]= If[n==0, 0, n! -Sum[j!*A003319[n-j], {j, n-1}]];
A104984[n_, k_]:= If[k==n, 1, If[k==n-1, -n, -A003319[n-k]]];
a[n_]:= Sum[A104984[n, k], {k, 0, n}];
Table[a[n], {n, 0, 30}] (* _G. C. Greubel_, Jun 07 2021 *)
PROG
(PARI) {a(n)=sum(k=0, n, if(k==n, 1, if(k==n-1, -n, -polcoeff((1-1/sum(i=0, n-k, i!*x^i))/x+O(x^(n-k)), n-k-1) )))}
(Sage)
@CachedFunction
def T(n, k):
if (k==n): return 1
elif (k==n-1): return -n
else: return -factorial(n-k) - sum( factorial(j)*T(n-k-j, 0) for j in (1..n-k-1) )
[sum(T(n, k) for k in (0..n)) for n in (0..30)] # _G. C. Greubel_, Jun 07 2021
CROSSREFS
Sequence in context: A005965 A000421 A009244 * A210690 A079575 A078564
KEYWORD
sign
AUTHOR
_Paul D. Hanna_, Apr 10 2005
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 3 22:36 EDT 2024. Contains 372225 sequences. (Running on oeis4.)