A368846
Triangle read by rows: T(n, k) = (-1)^(n + k)*2*binomial(2*k - 1, n)* binomial(2*n + 1, 2*k) for k > 0, and k^n for k = 0.
Original entry on oeis.org
1, 0, 6, 0, 0, 30, 0, 0, -70, 140, 0, 0, 0, -840, 630, 0, 0, 0, 924, -6930, 2772, 0, 0, 0, 0, 18018, -48048, 12012, 0, 0, 0, 0, -12870, 216216, -300300, 51480, 0, 0, 0, 0, 0, -350064, 2042040, -1750320, 218790, 0, 0, 0, 0, 0, 184756, -5542680, 16628040, -9699690, 923780
Offset: 0
[0] [1]
[1] [0, 6]
[2] [0, 0, 30]
[3] [0, 0, -70, 140]
[4] [0, 0, 0, -840, 630]
[5] [0, 0, 0, 924, -6930, 2772]
[6] [0, 0, 0, 0, 18018, -48048, 12012]
[7] [0, 0, 0, 0, -12870, 216216, -300300, 51480]
[8] [0, 0, 0, 0, 0, -350064, 2042040, -1750320, 218790]
-
A368846[n_,k_] := If[k==0, Boole[n==0], (-1)^(n+k) 2 Binomial[2k-1, n] Binomial[2n+1, 2k]];
Table[A368846[n, k], {n,0,10}, {k,0,n}] (* Paolo Xausa, Jan 08 2024 *)
-
def A368846(n, k):
if k == 0: return k^n
if k > n: return 0
return (-1)^(n + k)*2*binomial(2*k - 1, n)*binomial(2*n + 1, 2*k)
for n in range(10): print([A368846(n, k) for k in range(n+1)])
A385601
Expansion of e.g.f. cosh(x)^2*(x+x^2/2).
Original entry on oeis.org
0, 1, 1, 6, 12, 40, 120, 224, 896, 1152, 5760, 5632, 33792, 26624, 186368, 122880, 983040, 557056, 5013504, 2490368, 24903680, 11010048, 121110528, 48234496, 578813952, 209715200, 2726297600, 905969664, 12683575296, 3892314112, 58384711680, 16642998272, 266287972352, 70866960384
Offset: 0
a(5) = 40 since the strings are the 5 permutations of 10000, the 5 permutations of 12222 and the 30 permutations of 10022.
a(6) = 120 since the strings are the 15 permutations of 110000, the 90 permutations of 110022, and the 15 permutations of 112222.
A386227
Expansion of e.g.f. cosh(x)^2*(1 + x + x^2/2).
Original entry on oeis.org
1, 1, 3, 6, 20, 40, 152, 224, 1024, 1152, 6272, 5632, 35840, 26624, 194560, 122880, 1015808, 557056, 5144576, 2490368, 25427968, 11010048, 123207680, 48234496, 587202560, 209715200, 2759852032, 905969664, 12817793024, 3892314112, 58921582592, 16642998272, 268435456000, 70866960384
Offset: 0
a(5) = 40 since the strings are the 30 permutations of 10022, the 5 permutations of 10000, and the 5 permutations of 12222.
a(6) = 152 since the strings are (number of permutations in parentheses): 110022 (90), 110000 (15), 112222 (15), 000022(15), 002222 (15), 222222 (1), 000000 (1).
A383608
Expansion of e.g.f. (1+x)*cosh(x)^2.
Original entry on oeis.org
1, 1, 2, 6, 8, 40, 32, 224, 128, 1152, 512, 5632, 2048, 26624, 8192, 122880, 32768, 557056, 131072, 2490368, 524288, 11010048, 2097152, 48234496, 8388608, 209715200, 33554432, 905969664, 134217728, 3892314112, 536870912, 16642998272, 2147483648, 70866960384, 8589934592
Offset: 0
a(5)=40 since the strings are the 30 permutations of 00221, the 5 permutations of 00001, and the 5 permutations of 22221.
Showing 1-4 of 4 results.
Comments