A306914
Square array A(n,k), n >= 0, k >= 1, read by antidiagonals, where column k is the expansion of g.f. 1/((1-x)^k+x^k).
Original entry on oeis.org
1, 1, 0, 1, 2, 0, 1, 3, 2, 0, 1, 4, 6, 0, 0, 1, 5, 10, 9, -4, 0, 1, 6, 15, 20, 9, -8, 0, 1, 7, 21, 35, 34, 0, -8, 0, 1, 8, 28, 56, 70, 48, -27, 0, 0, 1, 9, 36, 84, 126, 125, 48, -81, 16, 0, 1, 10, 45, 120, 210, 252, 200, 0, -162, 32, 0
Offset: 0
Square array begins:
1, 1, 1, 1, 1, 1, 1, 1, ...
0, 2, 3, 4, 5, 6, 7, 8, ...
0, 2, 6, 10, 15, 21, 28, 36, ...
0, 0, 9, 20, 35, 56, 84, 120, ...
0, -4, 9, 34, 70, 126, 210, 330, ...
0, -8, 0, 48, 125, 252, 462, 792, ...
0, -8, -27, 48, 200, 461, 924, 1716, ...
0, 0, -81, 0, 275, 780, 1715, 3432, ...
0, 16, -162, -164, 275, 1209, 2989, 6434, ...
-
A[n_, k_] := SeriesCoefficient[1/((1-x)^k + x^k), {x, 0, n}];
Table[A[n-k+1, k], {n, 0, 11}, {k, n+1, 1, -1}] // Flatten (* Jean-François Alcover, Mar 20 2019 *)
A049017
Expansion of 1/((1-x)^7 - x^7).
Original entry on oeis.org
1, 7, 28, 84, 210, 462, 924, 1717, 3017, 5110, 8568, 14756, 27132, 54264, 116281, 257775, 572264, 1246784, 2641366, 5430530, 10861060, 21242341, 40927033, 78354346, 150402700, 291693136, 574274008, 1148548016, 2326683921, 4749439975, 9714753412, 19818498700, 40199107690
Offset: 0
-
R:=PowerSeriesRing(Integers(), 40); Coefficients(R!( 1/((1-x)^7 - x^7) )); // G. C. Greubel, Apr 11 2023
-
CoefficientList[Series[1/((1-x)^7-x^7),{x,0,30}],x] (* Harvey P. Dale, Feb 18 2011 *)
-
Vec(1/((1-x)^7-x^7)+O(x^99)) \\ M. F. Hasler, Mar 05 2017
-
def A049017_list(prec):
P. = PowerSeriesRing(ZZ, prec)
return P( 1/((1-x)^7 - x^7) ).list()
A049017_list(40) # G. C. Greubel, Apr 11 2023
A307047
Square array A(n,k), n >= 0, k >= 1, read by antidiagonals, where column k is the expansion of g.f. 1/((1+x)^k-x^k).
Original entry on oeis.org
1, 1, 0, 1, -2, 0, 1, -3, 4, 0, 1, -4, 6, -8, 0, 1, -5, 10, -9, 16, 0, 1, -6, 15, -20, 9, -32, 0, 1, -7, 21, -35, 36, 0, 64, 0, 1, -8, 28, -56, 70, -64, -27, -128, 0, 1, -9, 36, -84, 126, -125, 120, 81, 256, 0, 1, -10, 45, -120, 210, -252, 200, -240, -162, -512, 0
Offset: 0
Square array begins:
1, 1, 1, 1, 1, 1, 1, 1, ...
0, -2, -3, -4, -5, -6, -7, -8, ...
0, 4, 6, 10, 15, 21, 28, 36, ...
0, -8, -9, -20, -35, -56, -84, -120, ...
0, 16, 9, 36, 70, 126, 210, 330, ...
0, -32, 0, -64, -125, -252, -462, -792, ...
0, 64, -27, 120, 200, 463, 924, 1716, ...
0, -128, 81, -240, -275, -804, -1715, -3432, ...
0, 256, -162, 496, 275, 1365, 2989, 6436, ...
-
T[n_, k_] := (-1)^n * Sum[(-1)^(j * Mod[k, 2]) * Binomial[n + k - 1, k*j + k - 1], {j, 0, Floor[n/k]}]; Table[T[n - k, k], {n, 0, 11}, {k, n, 1, -1}] // Flatten (* Amiram Eldar, May 20 2021 *)
A375163
Expansion of 1/((1 + x)^7 - 2*x^7).
Original entry on oeis.org
1, -7, 28, -84, 210, -462, 924, -1714, 2975, -4795, 6888, -7616, 1428, 27132, -116276, 352632, -919303, 2180101, -4815188, 10010980, -19650050, 36268478, -62075384, 95196038, -118778345, 73332329, 207719344, -1138579904, 3670243032, -9852434200, 23858720872
Offset: 0
Showing 1-4 of 4 results.
Comments