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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A157154 Triangle read by rows: A(n,0)=A(n,n)=1 and A(n,k)= (3*(n-k)+1)*A(n-1,k-1) + (3*k+1)*A(n-1,k) - 3*k*(n-k)*A(n-2,k-1), for 1<=k<n. 0
1, 1, 1, 1, 5, 1, 1, 21, 21, 1, 1, 85, 234, 85, 1, 1, 341, 2110, 2110, 341, 1, 1, 1365, 17163, 35882, 17163, 1365, 1, 1, 5461, 131751, 505979, 505979, 131751, 5461, 1, 1, 21845, 976876, 6395471, 11433118, 6395471, 976876, 21845, 1, 1, 87381, 7089360 (list; table; graph; refs; listen; history; text; internal format)
OFFSET

0,5

COMMENTS

The row sums are 1, 2, 7, 44, 406, 4904, 72940, 1286384, 26221504, 606353744, 15680643352,...

LINKS

Table of n, a(n) for n=0..47.

EXAMPLE

1;

1, 1;

1, 5, 1;

1, 21, 21, 1;

1, 85, 234, 85, 1;

1, 341, 2110, 2110, 341, 1;

1, 1365, 17163, 35882, 17163, 1365, 1;

1, 5461, 131751, 505979, 505979, 131751, 5461, 1;

1, 21845, 976876, 6395471, 11433118, 6395471, 976876, 21845, 1;

1, 87381, 7089360, 75400800, 220599330, 220599330, 75400800, 7089360, 87381, 1;

1, 349525, 50761485, 848430732, 3839932578, 6201694710, 3839932578, 848430732, 50761485, 349525, 1;

MATHEMATICA

Clear[A, n, k, m];

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*k*(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}]

CROSSREFS

Sequence in context: A036969 A080249 A333143 * A022168 A157212 A156600

Adjacent sequences:  A157151 A157152 A157153 * A157155 A157156 A157157

KEYWORD

nonn,tabl,easy

AUTHOR

Roger L. Bagula, Feb 24 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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 5 04:30 EDT 2020. Contains 335459 sequences. (Running on oeis4.)