[go: up one dir, main page]

login
Revision History for A257618 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Triangle read by rows: T(n,k) = t(n-k, k); t(n,m) = f(m)*t(n-1,m) + f(n)*t(n,m-1), where f(x) = 8*x + 2.
(history; published version)
#22 by N. J. A. Sloane at Thu Mar 24 03:31:15 EDT 2022
STATUS

reviewed

approved

#21 by Michel Marcus at Thu Mar 24 02:49:12 EDT 2022
STATUS

proposed

reviewed

#20 by G. C. Greubel at Thu Mar 24 02:40:30 EDT 2022
STATUS

editing

proposed

#19 by G. C. Greubel at Thu Mar 24 02:39:02 EDT 2022
COMMENTS

Row sums are: 1, 4, 48, 960, 26880, 967680, 42577920, 2214051840, 132843110400, 9033331507200, ... (see A144828).

LINKS

G. C. Greubel, <a href="/A257618/b257618.txt">Rows n = 0..50 of the triangle, flattened</a>

FORMULA

Sum_{k=0..n} T(n, k) = A144828(n).

From G. C. Greubel, Mar 24 2022: (Start)

T(n, k) = (a*k + b)*T(n-1, k) + (a*(n-k) + b)*T(n-1, k-1), with T(n, 0) = 1, a = 8, and b = 2.

T(n, n-k) = T(n, k).

T(n, 0) = A000079(n).

T(n, 1) = 2^(n-1)*(5^n - 2*n - 1).

T(n, 2) = 2^(n-3)*(3^(2*n+1) -2*(2*n+1)*5^n -1 +4*n^2). (End)

EXAMPLE

Triangle begins as:

1;

2 , 2;

4 , 40 , 4;

8 , 472 , 472 , 8;

16 , 4928 , 16992 , 4928 , 16;

32 , 49824 , 433984 , 433984 , 49824 , 32;

64 , 499584 , 9505728 , 22567168 , 9505728 , 499584 , 64;

128 , 4999040 , 192085632 , 909941120 , 909941120 , 192085632 , 4999040 , 128;

MATHEMATICA

T[n_, k_, a_, b_]:= T[n, k, a, b]= If[k<0 || k>n, 0, If[n==0, 1, (a*(n-k)+b)*T[n-1, k-1, a, b] + (a*k+b)*T[n-1, k, a, b]]];

Table[T[n, k, 8, 2], {n, 0, 12}, {k, 0, n}]//Flatten (* G. C. Greubel, Mar 24 2022 *)

PROG

(Sage)

def T(n, k, a, b): # A257618

if (k<0 or k>n): return 0

elif (n==0): return 1

else: return (a*k+b)*T(n-1, k, a, b) + (a*(n-k)+b)*T(n-1, k-1, a, b)

flatten([[T(n, k, 8, 2) for k in (0..n)] for n in (0..12)]) # G. C. Greubel, Mar 24 2022

CROSSREFS

Cf. A000079, A144828 (row sums), A167884.

STATUS

approved

editing

#18 by R. J. Mathar at Wed Nov 04 11:17:36 EST 2015
STATUS

editing

approved

#17 by R. J. Mathar at Wed Nov 04 11:17:27 EST 2015
CROSSREFS
STATUS

approved

editing

#16 by R. J. Mathar at Sat Jul 25 14:25:07 EDT 2015
STATUS

editing

approved

#15 by R. J. Mathar at Sat Jul 25 14:25:04 EDT 2015
CROSSREFS
STATUS

approved

editing

#14 by R. J. Mathar at Sat Jul 25 14:22:30 EDT 2015
STATUS

editing

approved

#13 by R. J. Mathar at Sat Jul 25 14:22:26 EDT 2015
CROSSREFS
STATUS

approved

editing