I have implemeneted the code for cryptanalysis of LFSR stream cipher . But I have a problem with generation of dataset i.e to get valid pairs using LFSR stream cipher. In the stinson book it is mentioned that if coefficients $$(c0,c1,\dots,cm-1)$$ are chosen in suitable way and if non-zero $$k=(k1,\dots,km)$$ is chosen then we will get a periodic stream cipher with period $2^{m-1}$.
What should be the values of $$c0,c1,\dots,cm-1$$ that I should choose?