Game of Pure Chance with Restricted Boundary

Paper: Game of Pure Chance with Restricted Boundary

Accompanied Maple program: Pile2 , Guess

Sample Input-Output File 1: Section 2.1, G_{n,s}(x)

Sample Input-Output File 2: Section 2.2, Higher moments for {1,-1}, p=q=1/2

Sample Input-Output File 3: Section 2.2, Higher moments for {1,-1}, general p,q

Sample Input-Output File 4: Section 3.1, Winning prob. generating functions W_{n,s1,s2}(x)

Sample Input-Output File 5: Section 3.2, Higher Moments of Y_n and Z_n

Sample Input-Output File 6: Section 4.1, G_{n,s}(x) for {1,-u}

Sample Input-Output File 7: Section 4.2, Higher moments for {1,-u}, general p,q

Sample Input-Output File 8: Section 5, Generating functions G_{n,s}(x) for {2,1}, general p,q

Sample Input-Output File 9: Section 5, Sequence of moments of G_{n,s}(x) and P_{n,s}(x)