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!)
 A168644 Triangle read by rows (0 <= k <= n): T(n,k) = [x^k] p(x,n), where p(0,0) = 1, p(x,n) = (7 - n)*binomial(n, k) - (6 - n)*(x^n + 1) for 1 <= n <= 5, and p(x,n) = 5*(x + 1)^n - Sum_{i=0..3} (Sum_{j=0..i} binomial(n, j)*(x^j + x^(n - j))) + (1/6)*n*(n - 1)*(n - 5)*x^(n - 3) for n >= 6. 3
 1, 1, 1, 1, 10, 1, 1, 12, 12, 1, 1, 12, 18, 12, 1, 1, 10, 20, 20, 10, 1, 1, 12, 45, 65, 45, 12, 1, 1, 14, 63, 140, 154, 63, 14, 1, 1, 16, 84, 224, 350, 252, 84, 16, 1, 1, 18, 108, 336, 630, 630, 384, 108, 18, 1, 1, 20, 135, 480, 1050, 1260, 1050, 555, 135, 20, 1 (list; table; graph; refs; listen; history; text; internal format)
 OFFSET 0,5 LINKS EXAMPLE Triangle begins:   1;   1,  1;   1, 10,   1;   1, 12,  12,   1;   1, 12,  18,  12,    1;   1, 10,  20,  20,   10,    1;   1, 12,  45,  65,   45,   12,    1;   1, 14,  63, 140,  154,   63,   14,   1;   1, 16,  84, 224,  350,  252,   84,  16,   1;   1, 18, 108, 336,  630,  630,  384, 108,  18,  1;   1, 20, 135, 480, 1050, 1260, 1050, 555, 135, 20, 1;   ... MATHEMATICA p[x_, n_] := If[n == 0, 1, If[n == 1, x + 1, 5*(x + 1)^n - (x^n + 1) - If[n > 2, (x^n + n*x^(n - 1) + n*x + 1), (x^n + 1)] - If[ n > 3, (x^n + n*x^( n - 1) + Binomial[n, n - 2]*x^(n - 2) + Binomial[n, n - 2]*x^2 + n*x + 1), (x^n + 1)] - If[n > 4, (x^n + n*x^( n - 1) + Binomial[n, n - 2]*x^(n - 2) + Binomial[n, n - 2]*x^(n - 3) + Binomial[ n, n - 3]*x^3 + Binomial[n, n - 2]*x^2 + n*x + 1), (x^n + 1)]]]; Flatten[Table[CoefficientList[p[x, n], x], {n, 0, 10}]] PROG (Maxima) T(n, k) := if k = 0 or k = n then 1 else (if n <= 5 then (7 - n)*binomial(n, k) else ratcoef(5*(x + 1)^n - sum(sum(binomial(n, j)*(x^j + x^(n - j)), j, 1, i), i, 1, 3) + (1/6)*n*(n - 1)*(n - 5)*x^(n - 3), x, k))\$ create_list(T(n, k), n, 0, 12, k, 0, n); /* Franck Maminirina Ramaharo, Jan 02 2019 */ CROSSREFS Cf. A132046, A168641, A168643, A168646. Sequence in context: A010177 A096089 A010176 * A168620 A143683 A146773 Adjacent sequences:  A168641 A168642 A168643 * A168645 A168646 A168647 KEYWORD nonn,easy,tabl,less AUTHOR Roger L. Bagula and Gary W. Adamson, Dec 01 2009 EXTENSIONS Edited by Franck Maminirina Ramaharo, Jan 02 2019 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 May 28 17:37 EDT 2020. Contains 334684 sequences. (Running on oeis4.)