Benedict Irwin edited section_Describing_the_Generating_Functions__.tex  about 8 years ago

Commit id: 823cd28542ea725c75493e527afd318662ce4266

deletions | additions      

       

\end{equation}  1,12,4,2,4,6,2,6,4  We can use the following Mathematica code to get the coefficients of this generating function \begin{equation}  \mathrm{FF=Select[Range[3000],GCD[#1,2310]==1&];}\\  \mathrm{H[x\_]=x*Sum[aa[k]*x^k,{k,0,480}]/(1-x-x^480+x^481);}\\  \mathrm{L={};}\\ \mathrm{FF=Select[Range[3000],GCD[\#1,2310]==1\&];}\\  \mathrm{H[x\_]=x*Sum[aa[k]*x^k,{k,0,480}]/(1-x-x^{480}+x^{481});}\\  \mathrm{L=\{\};}\\  \mathrm{For[n=1, n<241, n++,+}\\ n++,}\\  \; \mathrm{QQ[n\_]=Limit[D[H[x],{x,n}]/Factorial[n],x->0]==FF[[n]];}\\ \mathrm{QQ[n\_]=Limit[D[H[x],{x,n}]/Factorial[n],x\rightarrow0]==FF[[n]];}\\  \; \mathrm{AppendTo[L,QQ[n]]}\\  \mathrm{]}\\  \mathrm{Solve[L]}