A136574 Row sums of triangle A136573.
1, 1, 2, 7, 30, 149, 868, 5907, 46226, 409105, 4037904, 43954703, 522956302, 6749977101, 93928268300, 1401602636299, 22324392524298, 378011820620297, 6780385526348296, 128425485935180295, 2561327494111820294
Offset: 0
Keywords
Examples
a(4) = 149 = 4!*(5) = 120 + the sum of the first five terms of A033312: (0, 0, 1, 5, 23) = 29, added to 120 = 149. a(4) = 149 = A003422(5) + A000142(5) - (n+1) = 34 + 120 - 5.
Programs
-
Mathematica
s=1;lst={};Do[s+=n!-1;AppendTo[lst, s], {n, 0, 2*4!, 1}];lst (* Vladimir Joseph Stephan Orlovsky, Nov 08 2008 *) Fold[Append[#1, #1[[-1]] + #2! - 1] &, {1}, Range[20]] (* Michael De Vlieger, Dec 22 2017 *)
Formula
Extensions
More terms from Vladimir Joseph Stephan Orlovsky, Nov 08 2008
Comments