>    restart; read `c:/Users/Asus/Google Drive/Aek/Pile Game2/Pile2.txt`;

>    read `c:/Users/Asus/Google Drive/Guess.txt`;

>    #Section 5, Generating functions G_{n,s}(x) for {2,1}, general p,q

>    seq(print(n,[seq(MyG21(n,s,p,q,x),s=0..n)]),n=1..7);

1, [-x*p/(-1+q*x), 1]

2, [-x*p/(-1+q*x), -x*p/(-1+q*x), 1]

3, [-p^2*x^2*(q*x+1)/(-1+q*x+q^2*x^3*p), -p*x*(1-q*x+q*x^2*p)/(-1+q*x+q^2*x^3*p), p*x*(-1+q*x)*(q*x+1)/(-1+q*x+q^2*x^3*p), 1]

4, [p^2*x^2*(1+q*x^2*p)/(1-q*x-2*q^2*x^3*p+q^3*x^4*p), -p^2*x^2*(-1-q*x+q^2*x^2)/(1-q*x-2*q^2*x^3*p+q^3*x^4*p), -p*x*(-1+q*x)*(1+q*x^2*p)/(1-q*x-2*q^2*x^3*p+q^3*x^4*p), -p*x*(q^2*x^2-1+q^2*x^3*p)/(1-q*...
4, [p^2*x^2*(1+q*x^2*p)/(1-q*x-2*q^2*x^3*p+q^3*x^4*p), -p^2*x^2*(-1-q*x+q^2*x^2)/(1-q*x-2*q^2*x^3*p+q^3*x^4*p), -p*x*(-1+q*x)*(1+q*x^2*p)/(1-q*x-2*q^2*x^3*p+q^3*x^4*p), -p*x*(q^2*x^2-1+q^2*x^3*p)/(1-q*...

5, [p^3*x^3*(2*q*x+1)/(1-q*x-3*q^2*x^3*p+2*q^3*x^4*p), p^2*x^2*(1-q*x+2*q*x^2*p)/(1-q*x-3*q^2*x^3*p+2*q^3*x^4*p), -p^2*x^2*(-1+q*x)*(2*q*x+1)/(1-q*x-3*q^2*x^3*p+2*q^3*x^4*p), -p*x*(-1+q*x+2*q^2*x^3*p-q...
5, [p^3*x^3*(2*q*x+1)/(1-q*x-3*q^2*x^3*p+2*q^3*x^4*p), p^2*x^2*(1-q*x+2*q*x^2*p)/(1-q*x-3*q^2*x^3*p+2*q^3*x^4*p), -p^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