The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A157212 Subtractive tent three term recursion triangle sequence: Tent function:f(n,m)=If[k <= Floor[n/2], k, n - k]; Recursion:m=3; A(n,k,m)= ( m*(n - k) + 1)*A(n - 1, k - 1, m) + (m*k + 1)*A(n - 1, k, m) + m*f[n, k]*A(n - 2, k - 1, m). 0
 1, 1, 1, 1, 5, 1, 1, 24, 24, 1, 1, 103, 306, 103, 1, 1, 422, 3028, 3028, 422, 1, 1, 1701, 26064, 57806, 26064, 1701, 1, 1, 6820, 207132, 889640, 889640, 207132, 6820, 1, 1, 27299, 1569298, 11975936, 22436968, 11975936, 1569298, 27299, 1, 1, 109218 (list; table; graph; refs; listen; history; text; internal format)
 OFFSET 0,5 COMMENTS Row sums are: 1, 2, 7, 50, 514, 6902, 113338, 2207186, 49582036, 1263971354, 36002617324,... LINKS FORMULA Tent function:f(n,m)=If[k <= Floor[n/2], k, n - k]; Recursion:m=2; A(n,k,m)= ( m*(n - k) + 1)*A(n - 1, k - 1, m) + (m*k + 1)*A(n - 1, k, m) - m*f[n, k]*A(n - 2, k - 1, m). EXAMPLE {1}, {1, 1}, {1, 5, 1}, {1, 24, 24, 1}, {1, 103, 306, 103, 1}, {1, 422, 3028, 3028, 422, 1}, {1, 1701, 26064, 57806, 26064, 1701, 1}, {1, 6820, 207132, 889640, 889640, 207132, 6820, 1}, {1, 27299, 1569298, 11975936, 22436968, 11975936, 1569298, 27299, 1}, {1, 109218, 11544744, 147711834, 472619880, 472619880, 147711834, 11544744, 109218, 1}, {1, 436897, 83379864, 1716979026, 8806872054, 14787281640, 8806872054, 1716979026, 83379864, 436897, 1} MATHEMATICA Clear[A, f, n, k, m]; f[n_, k_] := If[k <= Floor[n/2], k, n - k]; A[n_, 0, m_] := 1; A[n_, n_, m_] := 1; A[n_, k_, m_] := (m*(n - k) + 1)*A[n - 1, k - 1, m] + (m*k + 1)*A[n - 1, k, m] - m*f[n, k]*A[n - 2, k - 1, m]; Table[A[n, k, m], {m, 0, 10}, {n, 0, 10}, {k, 0, n}]; Table[Flatten[Table[Table[A[n, k, m], {k, 0, n}], {n, 0, 10}]], {m, 0, 10}] Table[Table[Sum[A[n, k, m], {k, 0, n}], {n, 0, 10}], {m, 0, 10}]; CROSSREFS Sequence in context: A333143 A157154 A022168 * A156600 A329118 A152572 Adjacent sequences:  A157209 A157210 A157211 * A157213 A157214 A157215 KEYWORD nonn,tabl,uned AUTHOR Roger L. Bagula, Feb 25 2009 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified August 5 06:46 EDT 2020. Contains 336209 sequences. (Running on oeis4.)