A170966 Expansion of Product_{i=0..m-1} (1 + x^(4*i+1)) for m = 3.
1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1
Offset: 0
This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
m:=12; R:=PowerSeriesRing(Integers(), 100); Coefficients(R!( (&*[1+x^(4*j+1): j in [0..m-1]]) )); // G. C. Greubel, Feb 24 2019
seq(coeff(mul((1+x^(4*i+1)),i=0..11),x,n),n=0..100); # Nathaniel Johnston, Jun 24 2011
With[{m=12}, CoefficientList[Series[Product[(1 + x^(4*j+1)), {j,0,m-1}], {x,0,100}],x]] (* G. C. Greubel, Feb 24 2019 *)
m=12; my(x='x+O('x^(100))); Vec(prod(j=0,m-1, 1+x^(4*j+1) )) \\ G. C. Greubel, Feb 24 2019
m=12; ( prod(1+x^(4*j+1) for j in (0..m-1)) ).series(x, 100).coefficients(x, sparse=False) # G. C. Greubel, Feb 24 2019
CoefficientList[Series[Product[1+x^(4i+1),{i,0,8}],{x,0,100}],x] (* Harvey P. Dale, Jun 17 2013 *)
CoefficientList[Series[Product[1+x^(4k+1),{k,0,9}],{x,0,100}],x] (* Harvey P. Dale, Aug 03 2021 *)
CoefficientList[Series[Product[1+x^(4i+1),{i,0,10}],{x,0,100}],x] (* Harvey P. Dale, Apr 27 2025 *)
CoefficientList[Series[Product[1+x^(4i+1),{i,0,3}],{x,0,30}],x] (* Harvey P. Dale, Jul 11 2019 *)
CoefficientList[Series[Product[1+x^(4i+1),{i,0,6}],{x,0,100}],x] (* Harvey P. Dale, Jun 20 2015 *)