A011742 A binary m-sequence: expansion of reciprocal of x^29 + x^2 + 1 (mod 2, shifted by 28 initial 0's).
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1
Offset: 0
Keywords
References
- S. W. Golomb, Shift-Register Sequences, Holden-Day, San Francisco, 1967.
- H. D. Lueke, Korrelationssignale, Springer 1992, pp. 43-48.
- F. J. MacWilliams and N. J. A. Sloane, The Theory of Error-Correcting Codes, Elsevier/North Holland, 1978, p. 408.
Crossrefs
Programs
-
Mathematica
Join[PadRight[{},28,0],Mod[CoefficientList[Series[1/(x^29+x^2+1),{x,0,100}],x],2]] (* Harvey P. Dale, Sep 27 2024 *)
-
PARI
A=matrix(29,29,i,j,if(i>1,i==j+1,setsearch([2,29],j)>0))*Mod(1,2); a(n)=lift((A^(n-28))[1,1]) \\ M. F. Hasler, Feb 17 2018
Extensions
Edited by M. F. Hasler, Feb 17 2018
Comments