######################################################################## ## RectTile.txt Save this file as RectTile.txt to use it, # # stay in the # ## same directory, get into Maple (by typing: maple ) # ## and then type: read RecTile.txt # ## Then follow the instructions given there # ## # ## Written by Pablo Blanco, Robert Dougherty-Bliss, Natalya Ter-Saakov # #and # #Doron Zeilberger, Rutgers University , # ## DoronZeil at gmail dot com # ######################################################################## print(`First Written: April 2026: tested for Maple 2025 `): print(`Version : March 31, 2026 `): print(): print(`This is RectTile.txt, A Maple package`): print(`accompanying the article: `): print(` In How Many Ways Can You Rectangle a Rectangle?`): print(`By Pablo Blanco, Robert Dougherty-Bliss, Natalya Ter-Saakov and Doron Zeilberger`): print(): print(`The most current version is available on WWW at:`): print(` http://sites.math.rutgers.edu/~zeilberg/tokhniot/RectTile.txt .`): print(`Please report all bugs to: DoronZeil at gmail dot com .`): print(): print(`For general help, and a list of the MAIN functions,`): print(` type "ezra();". For specific help type "ezra(procedure_name);" `): print(`For a list of the supporting functions type: ezra1();`): print(`For a list of the Paper functions type: ezraP();`): print(`For a list of the Checking functions type: ezraC();`): print(): with(plots): ezraC:=proc() if args=NULL then print(`The Checking procedures are`): print(` CheckFmxt, CheckFmxw, CheckFmxw1w2`): else ezra(args): fi: end: ezraP:=proc() if args=NULL then print(`The Papers procedures are`): print(` PaperR, PaperRg, PaperRsv, PaperSg`): else ezra(args): fi: end: ezra1:=proc() if args=NULL then print(`The SUPPORTING procedures are`): print(` AdjMatW, AdjMatW1W2, Alpha1, Alpahbet1, amn, AsyAve, Bm, CrossSec, CtoR, Edges1, Edges11, KidsR, GuessRec, Grammar1, Grammar11, HV, KidsRp, KidsS, KidsSp, LD, Mm`): print(`NewTileSi, NNT, PlotT, ShiftRi, TIr, TIrP, TIrPe, TIs, TIsP, TiToW`): else ezra(args): fi: end: ezra:=proc() if args=NULL then print(` RectTile.txt: A Maple package for counting the number of ways of tiling rectangles by rectangles and by squares `): print(`The MAIN procedures are: Alphabet , DiG, DiGt, DiGw, DiGw1w2, Fmx, FmxPC, FmxSV, Fmxt, Fmxw, Fmxw1w2, FmxwPC, GmxG, Grammar, RandRT, RandST, SeqR, SeqS `): print(``): elif nargs=1 and args[1]=AdjMatW then print(`AdjMatW(WG,w): Given a weighted directed graph G=[G1,WeightTable], and a variable name w, (in our format n:=nops(G1)=nops(WeightTable). Outputs the n by n weighted adjacency matrix in terms of powers of w. Try`): print(`Try: AdjMatW(DiGw(2),w);`): elif nargs=1 and args[1]=AdjMatW1W2 then print(`AdjMatW1W2(G,w1,w2): Given a bi-weighted directed graph G=[G1,WeightBiTable], and a variable names w1, w2, (in our format n:=nops(G1)=nops(WeightTable). Outputs the n by n weighted adjacency matrix in terms of powers of w1 and w2. Try`): print(` G:=DiGw1w2(2):AdjMatW1W2(G,w1,w2);`): elif nargs=1 and args[1]=Alpha1 then print(`Alpha1(m,n,i): the set of all letters that show up in the i-th place in Corpus(m,n); Try:`): print(`Alpha1(3,4,1);`): elif nargs=1 and args[1]=Alphabet then print(`Alphabet(m): The starting letters, middle letters, and final letters of Corpus(m,n) for n>=2. Try:`): print(`Alphabet(3);`): elif nargs=1 and args[1]=Alphabet1 then print(`Alphabet1(m,n): The starting letters, middle letters, and final letters of Corpus(m,n). Try: `): print(`Alphabet1(3,4);`): elif nargs=1 and args[1]=amn then print(`amn(m,n): The number of ways to tile an m by n rectangle by rectangles, according to the Joshua Smith- Helena Verrill formula. Try:`): print(`amn(4,10);`): elif nargs=1 and args[1]=AsyAve then print(`AsyAve(f,z,w,K): inputs a rational function f in z and w estiamtes [C1,C0] such that the coeff. of z^n of subs(w=1,diff(f,w)) divided by the coeff. of z^n equals C1*n+C0 by looking`): print(`at two consectutive terms around the coeff. of z^K. Try:`): print(`AsyAve(1/(1-z*w-z^2),z,w,200);`): elif nargs=1 and args[1]=Bm then print(`Bm(m): the 2^(m-1) by 2^(m-1) matrix defined in the paper by Joshua Smith and Helena Verrill. Try:`): print(`Bm(5);`): elif nargs=1 and args[1]=CheckFmxt then print(`CheckFmxt(m,N): checks the correctness of Fmxt(m,w,t) up to the coefficient of x^N. Try:`): print(`CheckFmxt(2,5);`): elif nargs=1 and args[1]=CheckFmxw then print(`CheckFmxw(m,N): checks the correctness of Fmxw(m,x,w), up to the coefficient of x^N. Try:`): print(`CheckFmxw(2,5);`): elif nargs=1 and args[1]=CheckFmxw1w2 then print(`CheckFmxw1w2(m,N): checks the correctness of Fmxw1w2(m,x,w1,w2), up to the coefficient of x^N. Try:`): print(`CheckFmxw1w2(2,5);`): elif nargs=1 and args[1]=Corners1 then print(`Corners1(rec): given a rectangle with our convention [[i,j],[a,b]] denoting an a by b tile whose upper-right cell is (in matrix notation), [i,j], i.e. the upper right vertex is [i-1,j]`): print(`outputs the four corners of the corresponindg a by by tile. It starts with the left-most bottom corner and proceeds, counterclockwise. Try:`): print(`Corners1([[5,4],[2,3]]);`): elif nargs=1 and args[1]=Corpus then print(`Corpus(m,n): All the words for the tilings of an m by n rectangle by rectangles. Try:`): print(`Corpus(3,4);`): elif nargs=1 and args[1]=CrossSec then print(`CrossSec(a): The set of edges in [0,a]x[0,1-], i,e, all the vertical edges in [0,a] and the horizontal edges coming out but not the edges of the vertices labeled [1,i] (0<=i<=a). Try:`): print(`CrossSec(4);`): elif nargs=1 and args[1]=CtoR then print(`Taken from the Maple package Cfinie.txt`): print(`CtoR(S,t), the rational function, in t, whose coefficients`): print(`are the members of the C-finite sequence S. For example, try:`): print(`CtoR([[1,1],[1,1]],t);`): elif nargs=1 and args[1]=DiG then print(`DiG(m): the directed graph representation of the grammar of tilings of [m]x[n] by rectangles for a fixed m. Try:`): print(`DiG(2);`): elif nargs=1 and args[1]=DiGt then print(`DiGt(m): the directed graph representation of the grammar of tilings of [m]x[n] by rectangles for a fixed m, followed by the "numtber of new tiles" weight of each vertex. Try:`): print(`DiGt(2);`): elif nargs=1 and args[1]=DiGw then print(`DiGw(m): the directed graph representation of the grammar of tilings of [m]x[n] by rectangles for a fixed m, followed by the weight of each vertex. Try:`): print(`DiGw(2);`): elif nargs=1 and args[1]=DiGw1w2 then print(`DiGw1w2(m): the directed graph representation of the grammar of tilings of [m]x[n] by rectangles for a fixed m, followed by the bi-weight of each vertex ([number of horizontal edges in the grid, number of vertical edges in the grid].`): print(`Try:`): print(`DiGw1w2(2);`): elif nargs=1 and args[1]=Edges1 then print(`Edges1(rec): given a rectangle with our convention [[i,j],[a,b]] denoting an a by b tile whose upper-right cell is. in matrix notation, `): print(`outputs the set of edges in the perimeter of the rectangle rec. Try:`): print(`Edges1([[1,4],[2,3]]);`): elif nargs=1 and args[1]=Edges11 then print(`Edges11(R): the set of edges in rectaongle R=[V1,V2,V3,V4] where V1 is the leftmost bottom corner and it is tranversed counterclockwise. Try:`): print(`Edges11([[3,1],[3,3],[1,3],[1,1]]);`): elif nargs=1 and args[1]=GmxG then print(`GmxG(m,x,K): The generating function of SeqS(m,infinity); by (rigorous!) guessing using data up to K. Try:`): print(`GmxG(3,x,30);`): elif nargs=1 and args[1]=Grammar then print(`Grammar(m): the triple [StartingPairs, MiddlePairs,EndingPairs] in the grammar for Corpus(m,n) for all n>=3.`): print(`Try:Grammar(3)`): elif nargs=1 and args[1]=Grammar1 then print(`Grammar1(m,n): the triple [StartingPairs, MiddlePairs,EndingPairs] in the grammar for Corpus(m,n), after checking that all the middle ones are the same. Try:`): print(`Grammar1(3,4);`): elif nargs=1 and args[1]=Grammar11 then print(`Grammar11(m,n): the set of all the pairs of consecutive letters at the start, and then at every consecutive two columns and then at the end. Try`): print(`Grammar11(3,5);`): elif nargs=1 and args[1]=GuessRec then print(`Taken from the Maple package Cfinie.txt`): print(`GuessRec(L): inputs a sequence L and tries to guess`): print(`a recurrence operator with constant cofficients `): print(`satisfying it. It returns the initial values and the operator`): print(` as a list. For example try:`): print(`GuessRec([1,1,1,1,1,1]);`): elif nargs=1 and args[1]=HV then print(`HV(S): Given a set of edges of P_m x P_n outputs the pair [h,v] where h is the number of horizontal edges, and v is the number of vertical edges. Try:`): print(`HV({{[1,0],[2,0]}}); HV({{[0,1],[0,2]}});`): elif nargs=1 and args[1]=KidsR then print(`KidsR(L): all the configurations obtained from L by deciding the rectangular tile that belongs to the rightmost-upmost cell. Try:`): print(`KidsR([4,4,4]);`): elif nargs=1 and args[1]=KidsRp then print(`KidsRp(L): all the pairs, [C,T] where C is configurations obtained from L by removing a legal rectangular tile T that belongs to the rightmost-upmost cell, that is also the North East Corner of T.`): print(`A tile is represented by [RightUpCorner,[a,b]] where [a,b] are the dimensions of the tile. Try:`): print(`KidsRp([4,4,4]);`): elif nargs=1 and args[1]=KidsS then print(`KidsS(L): all the configurations obtained from L by deciding the square tile that belongs to the rightmost-upmost cell. Try:`): print(`KidsS([4,4,4]);`): elif nargs=1 and args[1]=KidsSp then print(`KidsSp(L): all the pairs, [C,T] where C is configurations obtained from L by removing a legal square tile T that belongs to the rightmost-upmost cell, that is also the North East Corner of T.`): print(`A tile is represented by [RightUpCorner,[a,b]] where [a,b] are the dimensions of the tile. Try:`): print(`KidsSp([4,4,4]);`): elif nargs=1 and args[1]=LD then print(`LD(L): inputs a list of pos. integers L describing a roullete outputs i with prob. proportioanl to L[i]. Try:`): print(`LD([1,2,1]);`): elif nargs=1 and args[1]=Mm then print(`Mm(m): the 2^(m-1) by 2^(m-1) matrix defined in the paper by Joshua Smith and Helena Verrill. Try:`): print(`Mm(5);`): elif nargs=1 and args[1]=NewTileSi then print(`NewTileSi(i,k): the signal of a new tile in a letter starting with horizontal edge {[i,0],[i,1]} and ending in horizontal edge {[i+k,0],[i+k,1]}, it outputs the`): print(`set of edges that should be there followed by the set of horizontal edges that should not. Try:`): print(`NewTileSi(2,4);`): elif nargs=1 and args[1]=NNT then print(`NNT(LE): The number of new tiles starting with the letter LE in Alphabet(m). Try:`): print(`LE:=Alphabet(4)[2][1]; NNT(4,LE);`): elif nargs=1 and args[1]=PaperR then print(`PaperR(M,x): an article with the generating functions for tiling an m by n rectangle by RECTANGLES for m from 1 to M`): print(`using the rigorous grammar. Try:`): print(`PaperR(4,x);`): elif nargs=1 and args[1]=PaperRg then print(`PaperRg(M,x,K): an article with the generating functions for tiling an m by n rectangle by RECTANGLES for m from 1 to M`): print(`using (rigorous!) guessing using up to K data points. Try:`): print(`PaperRg(4,x,20);`): elif nargs=1 and args[1]=PaperRsv then print(`PaperRsv(M,x): an article with the generating functions for tiling an m by n rectangle by RECTANGLES for m from 1 to M`): print(`using the Joshua Smith-Helena Verrill approach. Try:`): print(`PaperRsv(4,x);`): elif nargs=1 and args[1]=PaperSg then print(`PaperSg(M,x,K): an article with the generating functions for tiling an m by n rectangle by SQUARES for m from 1 to M`): print(`using (rigorous!) guessing using up to K data points. Try:`): print(`PaperSg(4,x,20);`): elif nargs=1 and args[1]=PlotT then print(`PlotT(a,b,S): plots the tiling T of [a]x[b]. Try:`): print(`S:=RandRT([3,3,3,3,3]): PlotT(5,3,S);`): elif nargs=1 and args[1]=RandRT then print(`RandRT(L): a uniformaly-at-random tiling of the shape L by retangles. Try:`): print(`RandRT([3,3,3]);`): elif nargs=1 and args[1]=RandST then print(`RandST(L): a uniformaly-at-random tiling of the shape L by squares. Try:`): print(`RandST([3,3,3]);`): elif nargs=1 and args[1]=SeqR then print(`SeqR(k,N): The sequence of length N whose n-th term is the number of ways of tiling a k by (n-1) rectangle by rectangles. Try:`): print(`SeqR(3,20);`): elif nargs=1 and args[1]=Fmx then print(`Fmx(m,x): The generating function of SeqR(m,infinity); Try:`): print(`Fmx(3,x);`): elif nargs=1 and args[1]=FmxG then print(`FmxG(m,x,K): The generating function of SeqR(m,infinity); by (rigorous!) guessing using data up to K. Try:`): print(`FmxG(3,x,20);`): elif nargs=1 and args[1]=FmxPC then print(`FmxPC(m,x): For 1<=m<=9, the pre-computed value of Fmx(m,x). Try:`): print(`FmxPC(5,x);`): elif nargs=1 and args[1]=FmxSV then print(`FmxSV(m,x): the same output as Fmx(m,x) (q.v.) but via the approach of Joshua Smith and Helena Verrill. Try:`): print(`FmxSV(4,x);`): elif nargs=1 and args[1]=Fmxt then print(`Fmxt(m,x,t): The weighted generating function of SeqR(m,infinity), according to the weight t^NumberOfTiles. Try:`): print(`Fmxt(3,x,t);`): elif nargs=1 and args[1]=Fmxw then print(`Fmxw(m,x,w): The weighted generating function of SeqR(m,infinity); Try:`): print(`Fmxw(3,x,w);`): elif nargs=1 and args[1]=Fmxw1w2 then print(`Fmxw1w2(m,x,w1,w2): The bi-weighted generating function of SeqR(m,infinity), according to the weight:`): print(`w1^NumberOfHorizontalEdges*w2^NumberOfVerticalEdges`): print(`Try:`): print(`Fmxw1w2(3,x,w1,w2);`): elif nargs=1 and args[1]=FmxwPC then print(`FmxwPC(m,x,w): The pre-computed value of the bi-variate generating function of SeqR(m,infinity); For n from 1 to 6. Try:`): print(`FmxwPC(3,x,w);`): elif nargs=1 and args[1]=SeqS then print(`SeqS(k,N): The sequence of length N whose n-th term is the number of ways of tiling a k by (n-1) rectangle by squares. Try:`): print(`SeqS(3,20);`): elif nargs=1 and args[1]=FmxG then print(`FmxG(m,x,K): The generating function of SeqS(m,infinity); by (rigorous!) guessing using data up to K. Try:`): print(`FmxG(3,x,20);`): elif nargs=1 and args[1]=ShiftRi then print(`ShiftRi(C,i): adding [i,0] to each vertex of each edgde of C.`): elif nargs=1 and args[1]=TIr then print(`TIr(L): The number of ways to tile the configuration L with rectangular tiles. Try:`): print(`TIr([3,3,3]);`): elif nargs=1 and args[1]=TIrP then print(`TIrP(L): The set of tilings of the configuration L with rectangular tiles. Try:`): print(`TIrP([3,3,3]);`): elif nargs=1 and args[1]=TIrPe then print(`TIrPe(L): The set of tilings of the configuration L with rectangular tiles in terms of the set of edges partitipating in the borders of the tiles. Try:`): print(`TIrPe([3,3,3]);`): elif nargs=1 and args[1]=TIs then print(`TIs(L): The number of ways to tile the configuration L with square tiles. Try:`): print(`TIs([3,3,3]);`): elif nargs=1 and args[1]=TIsP then print(`TIsP(L): The set of tilings of the configuration L with square tiles. Try:`): print(`TIsP([3,3,3]);`): elif nargs=1 and args[1]=TiToW then print(`TiToW(m,n,T): The word corresponding to the tiling T on an m by n board`): else print(`There is no such thing as`, args): fi: end: #KidsR(L): all the configurations obtained from L by deciding the rectangular tile that belongs to the rightmost-upmost cell. Try: #KidsR([4,4,4]); KidsR:=proc(L) local k,i,j,j1,ka,gu,j11: k:=nops(L): if L=[0$k] then RETURN(FAIL): fi: i:=max[index](L): for j from i+1 to k while L[j]=L[i] do od: j:=j-1: gu:={}: for j1 from i to j do gu:=gu union {seq([op(1..i-1,L),seq(L[j11]-ka,j11=i..j1),op(j1+1..k,L)],ka=1..L[i])}: od: gu: end: #TIr(L): The number of ways to tile the configuration L with rectangular tiles. Try: #TIr([3,3,3]); TIr:=proc(L) local k,gu,gu1: option remember: k:=nops(L): if L=[0$k] then RETURN(1): fi: gu:=KidsR(L): add(TIr(gu1),gu1 in gu): end: #SeqR(k,N): The sequence of length N+1 whose n-th term is the number of ways of tiling a k by (n-1) rectangle by rectangles. Try: #SeqR(4,20); SeqR:=proc(k,N) local i: [seq(TIr([i$k]),i=0..N)]: end: #KidsS(L): all the configurations obtained from L by deciding the square tile that belongs to the rightmost-upmost cell. Try: #KidsS([4,4,4]); KidsS:=proc(L) local k,i,j,j1,gu,j11: k:=nops(L): if L=[0$k] then RETURN(FAIL): fi: i:=max[index](L): for j from i+1 to k while L[j]=L[i] do od: j:=j-1: gu:={}: for j1 from i to min(j,L[i]+i-1) do gu:=gu union {[op(1..i-1,L),seq(L[j11]-(j1-i+1),j11=i..j1),op(j1+1..k,L)]}: od: gu: end: #TIs(L): The number of ways to tile the configuration L with square tiles. Try: #TIs([3,3,3]); TIs:=proc(L) local k,gu,gu1: option remember: k:=nops(L): if L=[0$k] then RETURN(1): fi: gu:=KidsS(L): add(TIs(gu1),gu1 in gu): end: #SeqS(k,N): The sequence of length N+1 whose n-th term is the number of ways of tiling a k by (n-1) rectangle by squares. Try: #SeqS(4,20); SeqS:=proc(k,N) local i: [seq(TIs([i$k]),i=0..N)]: end: #KidsRp(L): all the pairs, [C,T] where C is configurations obtained from L by removing a legal rectangular tile T that belongs to the rightmost-upmost cell, that is also the North East Corner of T. #A tile is represented by [RightUpCorner,[a,b]] where [a,b] are the dimensions of the tile. Try: #KidsRp([4,4,4]); KidsRp:=proc(L) local k,i,j,j1,ka,gu,j11,L1,T1: k:=nops(L): if L=[0$k] then RETURN(FAIL): fi: i:=max[index](L): for j from i+1 to k while L[j]=L[i] do od: j:=j-1: gu:={}: for j1 from i to j do for ka from 1 to L[i] do L1:=[op(1..i-1,L),seq(L[j11]-ka,j11=i..j1),op(j1+1..k,L)]: T1:=[[i,L[i]],[j1-i+1,ka]]: gu:=gu union {[L1,T1]}: od: od: gu: end: #TIrP(L): The set of tilings of the configuration L with rectangular tiles. Try: #TIrP([3,3,3]); TIrP:=proc(L) local k,mu,mu1,lu,lu1,gu: option remember: k:=nops(L): if L=[0$k] then RETURN({{}}): fi: mu:=KidsRp(L): gu:={}: for mu1 in mu do lu:=TIrP(mu1[1]): gu:=gu union {seq(lu1 union {mu1[2]} , lu1 in lu)}: od: gu: end: #KidsSp(L): all the pairs, [C,T] where C is configurations obtained from L by removing a legal square tile T that belongs to the rightmost-upmost cell, that is also the North East Corner of T. #A tile is represented by [RightUpCorner,[a,b]] where [a,a] are the dimensions of the tile. Try: #KidsSp([4,4,4]); KidsSp:=proc(L) local mu,mu1,gu: mu:=KidsRp(L): gu:={}: for mu1 in mu do if mu1[2][2][1]=mu1[2][2][2] then gu:=gu union {mu1}: fi: od: gu: end: #TIsP(L): The set of tilings of the configuration L with square tiles. Try: #TIsP([3,3,3]); TIsP:=proc(L) local k,mu,mu1,lu,lu1,gu: option remember: k:=nops(L): if L=[0$k] then RETURN({{}}): fi: mu:=KidsSp(L): gu:={}: for mu1 in mu do lu:=TIsP(mu1[1]): gu:=gu union {seq(lu1 union {mu1[2]} , lu1 in lu)}: od: gu: end: #LD(L): inputs a list of pos. integers L describing a roullete outputs i with prob. proportioanl to L[i]. Try: #LD([1,2,1]); LD:=proc(L) local t,ra,i,j: t:=convert(L,`+`): ra:=rand(1..t)(): for i from 1 while add(L[j],j=1..i)gu2 then print(`The letters that show up in the`, i, ` place are`): print(Alpha1(m,n,i)): RETURN(FAIL): fi: od: gu3:=Alpha1(m,n,n+1): [gu1,gu2,gu3]: end: #Alphabet(m): The starting letters, middle letters, and final letters of Corpus(m,n) for n>=2. Try: #lphabet(3); Alphabet:=proc(m): Alphabet1(m,3): end: #Grammar11(m,n): the set of all the pairs of consecutive letters at the start, and then at every consecutive two columns and then at the end Grammar11:=proc(m,n) local gu,ST,i,gu1: gu:=Corpus(m,n): for i from 1 to n do ST[i]:={seq([gu1[i],gu1[i+1]],gu1 in gu)}: od: [seq(ST[i],i=1..n)]: end: #Corners1(rec): given a rectangle with our convention [[i,j],[a,b]] denoting an a by b tile whose upper-right cell is (in matrix notation), [i,j], i.e. the upper right vertex is [i-1,j] #outputs the four corners of the corresponindg a by by tile. It starts with the left-most bottom corner and proceeds, counterclockwise. Try: #Corners1([[5,4],[2,3]]); Corners1:=proc(rec) local i,j,a,b: i:=rec[1][1]: j:=rec[1][2]: a:=rec[2][1]: b:=rec[2][2]: [[i-1+a,j-b],[i-1+a,j],[i-1,j],[i-1,j-b]]: end: #Edges11(R): the set of edges in rectaongle R=[V1,V2,V3,V4] where V1 is the leftmost bottom corner and it is tranversed counterclockwise. Try: #Edges11([[3,1],[3,3],[1,3],[1,1]]); Edges11:=proc(R) local V1,V2,V3,V4,i1,j1,gu: V1:=R[1]:V2:=R[2]:V3:=R[3]: V4:=R[4]: if not (V1[1]=V2[1] and V1[2]1 then RETURN(FAIL): fi: [gu[1],gu[2],gu[n]]: end: #Grammar(m): the triple [StartingPairs, MiddlePairs,EndingPairs] in the grammar for Corpus(m,n) for all n>=3. #Try:Grammar(3) Grammar:=proc(m): Grammar1(m,3): end: #DiG(m): the directed graph representation of the grammar of tilings of [m]x[n] by rectangles for a fixed m. Try: #DiG(2); DiG:=proc(m) local A,G,T,a,A2,Na,i,a1,g: A:=Alphabet(m): G:=Grammar(m): if A[1] minus A[2]<>{} then RETURN(FAIL): fi: if nops(A[3])<>1 then RETURN(FAIL): fi: a:=nops(A[2]): A2:=convert(A[2],list): Na[A[3][1]]:=a+2: for i from 1 to a do Na[A2[i]]:=i+1: od: T[1]:={seq(Na[a1], a1 in A[1])}: for i from 2 to a+1 do T[i]:={}: od: T[a+2]:={}: for g in G[2] union G[3] do T[Na[g[1]] ]:= T[Na[g[1]] ] union {Na[g[2]]}: od: [seq(T[i],i=1..a+2)]: end: with(linalg): #AdjMat(G): Given a directed graph G in our format n:=nops(G). Outputs the n by n adjacency matrix #Try:G:=RDG(5,1/2);AdjMat(G); AdjMat:=proc(G) local M,M1,i,n,j: n:=nops(G): M:=[]: for i from 1 to n do M1:=[]: for j from 1 to n do if member(j, G[i]) then M1:=[op(M1),1]: else M1:=[op(M1),0]: fi: od: M:=[op(M),M1]: od: M: end: #WalkGF(G,x): Inputs a directed graph G=[V,T], where T[v] is the set of outgoing neighbors of v, and a variable x, outputs the matrix of rational functions whose (i,j) entry is #the generating function in x, according to lengths of walks from i to j. Try: #G:=RDG(5,1/2); WalkGF(G,x); WalkGF:=proc(G,x) local n,M,i: n:=nops(G): M:=AdjMat(G): M:=matrix([seq(expand([0$(i-1),1,0$(n-i)]-x*M[i]),i=1..n)]): normal(inverse(M))[1,n]: end: #Fmx(m,x): The generating function of SeqR(m,infinity); Try: #Fmx(3,x); Fmx:=proc(m,x) local G: G:=DiG(m): normal(1+WalkGF(G,x)/x): end: #FmxPC(m,x): the pre-computed output for Fmx(m,x) for m from 1 to 5 FmxPC:=proc(m,x) local L: option remember: if not (m>=1 and m<=9) then print(m, `should have been between 1 and 9`): RETURN(FAIL): fi: L:=[(x-1)/(2*x-1),(3*x^2-4*x+1)/(7*x^2-6*x+1),(19*x^3-29*x^2+11*x-1)/(51*x^3-55*x^2+15*x-1), (3832*x^6-8492*x^5+6722*x^4-2468*x^3+441*x^2-36*x+1)/(11680*x^6-20980*x^5+13840*x^4-4280*x^3+645*x^2-44*x+1), (39672144*x^10-110891556*x^9+124284414*x^8-74544838*x^7+26669637*x^6-5961522*x^5+841659*x^4-73608*x^3+3769*x^2-100*x+1)/(135762480*x^10-326041524*x^9+320708934*x^8-170972730*x^7+54776249*x^6-11002298*x^5+1395665*x^4-109292*x^3+4975*x^2-116*x+1), (916798938728006656*x^20-3962057190907156288*x^19+7644699117821849592*x^18-\ 8795707489604640136*x^17+6787540243858479914*x^16-3741365942249935792*x^15+ 1530293206620422033*x^14-475918767335413756*x^13+114321113226304761*x^12-\ 21415445169034874*x^11+3143712388922139*x^10-361909626897452*x^9+32569667881308 *x^8-2274379347082*x^7+121717789540*x^6-4898404600*x^5+144102468*x^4-2968032*x^ 3+39908*x^2-308*x+1)/(3488260147244630016*x^20-13785403213649739264*x^19+ 24571927550599277952*x^18-26305901575283773400*x^17+18988035581731414180*x^16-\ 9828185761768234778*x^15+3785664669818771697*x^14-1111033817019987980*x^13+ 252212834590208135*x^12-44688005447169948*x^11+6207093806210985*x^10-\ 676048684437666*x^9+57526055007906*x^8-3794064844276*x^7+191447789306*x^6-\ 7247125678*x^5+199881354*x^4-3842502*x^3+47924*x^2-340*x+1), (28279380150518196131880559372306483200*x^36-\ 169433796219946025137969305458590110720*x^35+ 474255165559364654342765359458195812736*x^34-\ 828216452545006785535878226149646331328*x^33+ 1016140150079560319198661883370969184864*x^32-\ 934676387640294197162534010528943488048*x^31+ 671460941772050584728998052796839552320*x^30-\ 387397211838708619492031348628575196176*x^29+ 183146335319651505999192046143685894008*x^28-\ 72020877395514588050987887262926561256*x^27+ 23829307848023927338858213530962901056*x^26-\ 6692871952857618393203846278325873056*x^25+ 1606826464439224135822280008995348828*x^24-331529652275258055984251513987480656 *x^23+59030165839486813475572698571653018*x^22-\ 9098553685351962104176791156663590*x^21+1216673867214769663767093777251082*x^20 -141346775107305776150162788859397*x^19+14275459802532378860333930339177*x^18-\ 1253312557002622148059604198891*x^17+95578270416330465834954324759*x^16-\ 6321782607454296682081418689*x^15+361839358877539891942573279*x^14-\ 17866333509616058115508599*x^13+757929995799401633145497*x^12-\ 27481478354300195399379*x^11+846106140194994397581*x^10-21938744361335268281*x^ 9+474130818860955757*x^8-8428505768539143*x^7+121156186144349*x^6-1376674485693 *x^5+11985504387*x^4-76414413*x^3+332283*x^2-867*x+1)/( 118632060343427720233417860979300608000*x^36-\ 669500186094685861939215912096561945600*x^35+ 1775504539161837872165446183309846826880*x^34-\ 2951077322820754696612411256835244291776*x^33+ 3458397820703416770138860851928837504352*x^32-\ 3047333117045720255083802582792450504496*x^31+ 2102016865427121784566384911328676836576*x^30-\ 1166716251527143504948285519467058467456*x^29+ 531484184153147327309833522293996048504*x^28-\ 201652863526715832038980138754542265016*x^27+ 64444016872370844286022417322659626704*x^26-\ 17498325702262432002345096085143596480*x^25+ 4064261039134484481072694811025510244*x^24-811739863916892748414239044052835108 *x^23+139974230150324682966467366133954014*x^22-\ 20901313653248625280281089330308250*x^21+2708344476606046620843336539524538*x^ 20-304931371784476668471888549521937*x^19+29847581020445902334291578638787*x^18 -2539549950150258402528213772535*x^17+187658983120909009606779556699*x^16-\ 12024164111072666812248839153*x^15+666475559543603394528452077*x^14-\ 31853493171040991391921219*x^13+1307228078733745581257181*x^12-\ 45819583461062565104819*x^11+1362525453025285162515*x^10-34086332379614791353*x ^9+709838722943930477*x^8-12140380193556699*x^7+167582349271675*x^6-\ 1824348767329*x^5+15172996291*x^4-92072745*x^3+379233*x^2-931*x+1), (113527828797039714787947431798758092395226341778145339086089556249200707440165\ 3620736*x^72-108435858430578295286650506436423366398936368801220866842227922826\ 68829391180911345664*x^71+49961767981220544266788238925091799767537039403582969\ 594966626685846017150106278821888*x^70-1481423854705360901310704164380437843562\ 32454532727875814010481253316606631600668229632*x^69+31815444514682588296482456\ 6448054204441898093249341329070411010767373045109638000756736*x^68-528063147696\ 622192384798338262338646842808413025833410833394840258070589317433022665728*x^ 67+7057624207583475432853145358985095809163839118968818675344088440394322104022\ 89221104128*x^66-78138806105342592532725840311069550459143979114643626086821195\ 8670296037165334037028864*x^65+731670819152440734151902202885357090106501459589\ 608796828048898171624374695247684369792*x^64-5886709684015131332138640757549332\ 69369808562708371509885572783739461537208830989025088*x^63+41204095179192991828\ 1632759264395973015739715683349912560525396522208220673440412156000*x^62-253439\ 3339172352554159649069496600777931030245466716087607618077173106818524305389656\ 96*x^61+13811847022011915061112004602877389278652171790295671994913939433652398\ 7809862415707472*x^60-671520686414655547747709546523925546688044248603578164357\ 18355000357910705965962526752*x^59+29296784148312979444856865568869514811234112\ 488418701133762418298253826326352855678768*x^58-1152623749332512831618636253371\ 0170094794096166064155331911787497285414249445920414912*x^57+410692825877459571\ 5021701703064567032100138911510459008980718447098955162651323641888*x^56-133020\ 0049637568164525792091036138822886354431239297976812932664125529679893792813908 *x^55+3929067971830333135184136786607723211615101870507004580514813349369879171\ 28742980278*x^54-10613612015488039009623138843983374317600247756842013495677114\ 2886785301563628106636*x^53+262855708260112569624167519343949975530743816542736\ 01329064051474860764839599530217*x^52-59814014682583598487730971221320866940072\ 47641044042555147179984828522816087391468*x^51+12530210140110323911831848750632\ 50889440768551241220273186727401492847159195746022*x^50-24206013165471023376665\ 2833589426112463114047261560587151832159200258035878869400*x^49+431866459311112\ 99868348322331318827803879724687571568516236561164348144166659260*x^48-71254130\ 20467065553751865775516517413616421849977368661314873589597497562779522*x^47+10\ 88445952724871436915678501896403520949758757948317862010933833289442103819272*x ^46-\ 154090911274680502522192039307750123753139549643786359914943233904204872996884* x^45+ 20234758146513288715760994133746145567417877708777785433598237778911118248584*x ^44-\ 2466562919370844768521461769561737506857666323093273866936886972987330909040*x^ 43+279273929519461607079985795230587256139850922852247708161499802182629926137* x^42-29385625065981015563141198554983600568122151651890730595806835516140795580 *x^41+2874630783611510755829191119540274246932498702245724910118456913408322007 *x^40-261519432422863495518244522529632204253997108822215276036675060150650562* x^39+22130445714864687750599825197247252593258325804412334404487753648378756*x^ 38-1742162660700398628701003604455162883918998565721159222622963513144876*x^37+ 127587120799144638784129254121665669351314234740846296180144485244055*x^36-\ 8691833099151330034377617123396910505268477322762212449566962999322*x^35+ 550717267789343628146240039763364514906323302433923134242516162993*x^34-\ 32444744284907037333462744028515109992765240647545996539510759976*x^33+ 1776652226634694633620834893542953086317868867685249361306358580*x^32-\ 90386665750832841204146373536314829493773395270932874811193870*x^31+ 4269800344725698660712196541666601807461449058004339249155872*x^30-\ 187164479282826735438968016612442826981775287116269953789118*x^29+ 7607027481113925778802280222625932721760465870302661900524*x^28-\ 286413831339517269493156067096002048514484186134796760890*x^27+ 9979698069507469571978730062353790285509331091576167082*x^26-\ 321427631452057681667516158154577867942665493642077150*x^25+ 9557083512586728728341205725071193771495177982729528*x^24-\ 261943683691341092471807703628490316093292724864638*x^23+ 6607205159981990590298618730029541360879323499274*x^22-\ 153093354877743410722840173169247021319076707866*x^21+ 3251840369720115234892284238047598049439153487*x^20-\ 63173376759345256337136120607136799055499518*x^19+ 1119555959259711502158460396564382059670359*x^18-\ 18046719692168878978902159545929059192528*x^17+ 263731597163330332668801487292109262991*x^16-\ 3481105492263010507733951570076100286*x^15+41325411229035552601769511261568842* x^14-439082088525035863948298143226660*x^13+4152011663882366399789135224362*x^ 12-34714267418807269693638190612*x^11+254648523900139830478153541*x^10-\ 1623902913029443651248584*x^9+8902736048533983020241*x^8-41386316232762939574*x ^7+160327549305926778*x^6-505981538879280*x^5+1261454159395*x^4-2376891814*x^3+ 3158666*x^2-2614*x+1)/(52129379370301147711146178695054401098772841443234272070\ 36968873589289262861447593984*x^72-48080350213235416728054001423753620039179322\ 132256059945511712085452078450903196106752*x^71+2144325511066907746853806973632\ 60778388131409863687310365026156878453931971288989958144*x^70-61670077738740517\ 1663571388881539442275226422358312122781052189669654566008526430470144*x^69+128\ 6861938374574673109681138679240252066649342308866952023684462801362681358510172\ 422144*x^68-2078412976017956012669499453910571006106871492819469238665533846539\ 409049919408333665280*x^67+2706605063055826690289963477940347372364494208689683\ 351400579136046970540069476137047040*x^66-2923151300393724286614371926260924317\ 028491959744567591308697635455135348638561143954432*x^65+2672741255402119241838\ 248137943160350026410651581878213533182624228536308707400856132608*x^64-2101641\ 5588591485008360396929556439552952223717661126588674398141494801984064339489019\ 52*x^63+14388528665666766508775873521681202042538420351904836322416384137313647\ 29379861383065792*x^62-86625942732155706004801987062911113159863840444275555835\ 3129708970547337036790941948224*x^61+462380328339255669281689047060791228363471\ 200188267787065682273296886593934910203391216*x^60-2203068703576416448574582340\ 98889851287367504998880425102001759068910569825525837666560*x^59+94239328064130\ 882750862549623072579953584866689941217174047142219749937630796782223392*x^58-\ 3637004574932578883980220793275555223865347990697126452686752805671420288095479\ 0997584*x^57+127173979934527988880641471721457039567083546672181883681670884545\ 67802618214735172520*x^56-40437673122437258752489603472037988083267246088328077\ 41051428332761465644193008715652*x^55+11729894434659655220936460554235666401959\ 89599508470851490675208219294095052912225060*x^54-31126914117379754519465046162\ 9077392211650098905602710060023661077267964587210590076*x^53+757492637531106858\ 10034253241077038491862446087785820938569621002724792497880309575*x^52-16941816\ 438221677370762015123508780302908456561747907379536354801027150379425476852*x^ 51+3489058513608361793198252778531743641052218135444096670397268533889399510349\ 299904*x^50-6627545789155848395405248651509275497743985676028076224332956900353\ 24318510013852*x^49+11628823341368723804545827234196176648594150217632707939828\ 9570551580850270393146*x^48-188721598932979935619709346754493134600254389267976\ 86421415080169312138351174546*x^47+28359846944076819192011088616328347554825521\ 18229512172931007586750626770803410*x^46-\ 395013450747169658483301842168183974918353067552797484561563922155484328765256* x^45+ 51040597389368524801301763007477667302463353870670562564357095753949265264664*x ^44-\ 6122528302027095640540957354673158119487883075498858658210517151081572740928*x^ 43+682214822757460300853396675817502413064095024691776211106561451811131974775* x^42-70648452218381626158372278904956520146269781642779935845467328280501012540 *x^41+6802135874239570685141429798975021362030762043364195203582537276441591849 *x^40-609081154998693605837622410937642516786315460351939971276907508515056018* x^39+50731279240894507564042018380863725950585296046321523709121360379221188*x^ 38-3930876715372689273100852245004517486498960946316362154067503580960556*x^37+ 283346219936291567007785890083996545926499139564369024599074884411517*x^36-\ 18998566215757339126069684078297146025647860265705732006910985466642*x^35+ 1184732198228212599481687466484709977440412300673105779431189463463*x^34-\ 68690271001227673496782122977711227407671170223571006676949537676*x^33+ 3701553733486938673062725654586452426688101716739178913994265782*x^32-\ 185302840087288003670388306766079064581263474232745991732606282*x^31+ 8612722240003337696308766619052985016410395643810766248414798*x^30-\ 371419005620034239078840864106989443787530568093577755216630*x^29+ 14849419228946725668807472243968659539446383996964963766518*x^28-\ 549896868711934669480590054221443646966244945469564112558*x^27+ 18842090273780893451806195322265766707760545847587440864*x^26-\ 596682332488116378114715559331082025038739716544193750*x^25+ 17440111434181648267799772073103232772384368680007562*x^24-\ 469788603503747375814140133368146487281799532146002*x^23+ 11643411821123744036322188819341066988585621077242*x^22-\ 265016956953612720109635595949728058432206782922*x^21+ 5528115365561667347679005636788570967191228977*x^20-\ 105432840466777302239980711989946960321163622*x^19+ 1833712895718462879868217902906019251414571*x^18-\ 28997609633568987022968333930314775097332*x^17+ 415549017801417519071970742339375823131*x^16-\ 5376159936922739467556439480056367114*x^15+62523629713715153264413106730713618* x^14-650424741824527927769819818318908*x^13+6018079664352279899135036979944*x^ 12-49197801179849460498992815648*x^11+352588400157357512030848729*x^10-\ 2194723508085335172119316*x^9+11732289848647508397833*x^8-53116800184366560378* x^7+200118451898876588*x^6-613185512554604*x^5+1481257524437*x^4-2697650654*x^3 +3453886*x^2-2742*x+1), (559346699344519609263023828112162388931577542957085466005605829522615250909814\ 2725853373602661997607444906009872808715203385434663561363422230338197682664186\ 39209006412857344000*x^136-7908732142236921466132728805736808748631753385242830\ 6310747333734419961427446824062621003022993639217083526573122597309929544379999\ 11366210051822095524893495964988828207284224000*x^135+5478323346349725327815187\ 4704360354825453401859008988548385143527690397623183770413233893963669054702994\ 641672027663557739533533948129525492980235237863289447753043021334765895680*x^ 134-247944539603160897048379263907216199263729292371428040251387763330554025675\ 6988801150371049285833489114524167189677491120990152980537299499814354518687516\ 30419773262966975614681088*x^133+8250430077753902841557865344160350743918023145\ 3222031087672286645462251725134068775415295558246834762587216045193526356641422\ 6144198408533587738781642815294690119334868215362748416*x^132-21534046849043100\ 9888376482358529811707131613780669644105575621960989005082852013645505044776062\ 2664637565165641263391832737118455244083070002290969395771439267335280895237466\ 095616*x^131+459306089992087292323908971780849583963024295347444836861975735670\ 9086614758853275313058388837752745576963163560951940959723149652205012965106217\ 015358127707577246392116375734714368*x^130-823573742625573318636479982060281758\ 7261142423089156083358011854006784203702540771607563047827364699506228123346090\ 728951579530865533462230430738031263233764568704893004441693716480*x^129+126746\ 0802921293065938354543932968914372826809590897467968505358740554428263119050945\ 5576530852974195313138436205240333458243455351419978404302384691192333931258438\ 179380013503086592*x^128-170091798140634013108854728691161688732366353531496574\ 0967784075274832333890150794229464435841275516165432396733708984863227775803655\ 6082570802005779404337664105711329794150941851648*x^127+20155006339887680177915\ 3969402297787082495585920710543620759003369804902237166316773538439919125881312\ 9673764750772908280028584246184834946976363658117188945107550858179234925379584\ 0*x^126-21302520191374224799246806869132641351233020028011646873647047272107630\ 5045600417245409238363870972856251945896779153393382763518830244062819320435871\ 42747773084077607237381507776512*x^125+2025159461158773748662958506923138032943\ 1591987068126293486288329679116671688787654953268054698816128833578867060241731\ 778970216882581994778385992218898235133065223928113677489668096*x^124-174388109\ 0322898020905279632834913327538839252074320121844638833960314127096082048286252\ 9671437969308628497684733151920725211833351514526126933076009587225102969249931\ 819955774554112*x^123+136835789905529918170904960726399216119432418347209237609\ 9771530352583693418486484719292355375798629496873753202160897976594626618485021\ 7326659589811765882521605098930448718364475392*x^122-98343020907894629190941653\ 2076214790536492687857737736315552502515695236254233412139585343809542288146666\ 8147317829277930812766932136439277793893609407899964919090938238172205252608*x^ 121+650269763926705560539747029916448237455912196242565532755689139430936996542\ 3092494489884155336762334021086700903740030576823821676243815269603134852221844\ 422769955297298414536392704*x^120-397152042288770443425496413105367879569772385\ 3455373292022310840637141129213409721727841546379780797363863920945157026195337\ 023926425269249998248812568965692729966224219970675175424*x^119+224824025851712\ 5861080096795148918016212278232603430510714243959426624931915782984212670780906\ 8064909303781662230896247053631163340217548937284739776449482836139127372687261\ 58514176*x^118-1183300260953275914569631845629975873577044072018228090627135873\ 0713124118080550360232301987674797368382729916916249344134067166794172686822589\ 17782531117254429864003313514441324544*x^117+5806529069649420201790749656549686\ 3287297763751766311572220291736985297748971535089830791543983660674801404813686\ 3339015863457495004886621592246571400460258653418898912047262022656*x^116-26631\ 1869873530250547408088655387663316445223350925104548864760504989754478587174709\ 8076256980550948475804339147921063093638928197936919338127296240408035766213523\ 92380623724284416*x^115+1144184175038484112365459318015008799663417050334671440\ 0787501477328963115277048016825203032654704009153961626820669953403961198818681\ 8656001614418761674040845217639323668310207232*x^114-46144721738215634832265644\ 8250897229345325223671925835875273784636701837311795265474681287274180607765730\ 82741223721368578072567077115139170557732606566632164379070062880512549120*x^ 113+175016611755048613919391943790617416598433667038878328576697550718597832987\ 4666297996900006767231156991841707950936321664749442815688321659185317119155761\ 6613823903563513437081856*x^112-62532941852552962734972944474497377040095836554\ 5958511622203131663421374858828844146806099421970288657372389546333140084439452\ 4630884213409480306802620569030934406952109284944384*x^111+21080976195438294860\ 2045382909441630672354103466927065290850582652135038650426760416587964463649822\ 8954879291350576058203216854128280466292944988247126751111657922850272800533632 *x^110-671506557658686268525744622996489282595170637381232280684004375331618408\ 7768480144122811715864666466298461215702082599331235244696422642818926316249040\ 01677611795763519428637824*x^109+2023784099952807119305554948581840227871084448\ 1368494011308288240631428750851905902585440456407441321961985900326943260810681\ 2640281652916190130612440102496732687772541397333248*x^108-57778390636155733992\ 6402224623874237272639473604049012905053489109227337795328678139691795460672990\ 66281447809695352156321949440878270407492230595304177660271669592573883125984*x ^107+15643991195834827172634978788982579103289460664392984105837830384593592609\ 0849419251217198006941022295293460472818494662400577612359103856400130587186100\ 94811971077225440164688*x^106-4021317501207487584119635288675036920135468880429\ 8207534246044470871429489484278214238793682706772815209563954706899071619061791\ 30146006398679971923368095026007016458782171440*x^105+9823205266920894996813315\ 8871052554410147950746891503414255959434206636746179861885092534750951005451374\ 4712738642308011323534705028246913599290127082400674455529017420739056*x^104-22\ 8243236288166334492942505065171202670845011220102074329902335651976439988327922\ 3062586376889061746222629282102301902697129079375920120407352648074617153302115\ 78489687790888*x^103+5048602403430999650881208337659897296960570962459149053964\ 6809461549258967183416338592063255798836214830457079843002307215684081377701341\ 018579432483002812531353929557640692*x^102-106393926323760555444926217872240662\ 9218164395357499922804171082424345989672465503610989169123429739525056498035278\ 0026718641799264516935290359484126606064650518598464501516*x^101+21377449234747\ 8289680774673897955252067004446941031857046861755567000429693727810164529581243\ 4883353443284599425487561280839746417528291655536189701504132508055398983922372 *x^100-409815270425940170983591607792211920458969227427378587342542096838612028\ 0408866033324157108875913914422913044038077491658056679259922392214554827087016\ 77394449379182633044*x^99+75005625066408377991061806326471207433190843739807467\ 1061584203228219266614609939153735604823425953232297164326618081959983979117232\ 18840344616457307356403390622881716474*x^98-13113995257837889949075611932117364\ 3272277107496618329516598074605010026149941176991831048942770697816339914589886\ 52460311609887061829412389806100600297903502647035677756*x^97+21915773277130939\ 5054745798264577656598770357859608522602663408024506213259388403123091672178770\ 8472523443392942333419526117372539833727149176099555763020295699126891481*x^96-\ 3502583016171112838465763174243502365742055764807535304804355606630930944256414\ 8115104315640023677161626446894476732070238845241115635677066882526062057496788\ 5584668544*x^95+535604716496146368243855354767480575213163665621655059044057676\ 8435390031450664986604575008912991969863346703795895824469867216647547877182599\ 1665336754793854064589382*x^94-784016513524412935396995401250458885984236489468\ 2493710983567050645193474534315062208890183601028400941362366662094132592162280\ 436660971813914336343790960303171780206*x^93+1099052268386277813549149432803388\ 7802860321436185993183784965235435578484897501412166526493201410423875189820218\ 97119473990687160133568898418623956237644060268790774*x^92-14760426746851647352\ 2822445637021629269766875566193613479458912555371441464358616537880097538999122\ 505142623351293057321033468115203400969113729987576574588948739726*x^91+1899898\ 2708338825981121581407085183335217110909625972338188035983133744725994555569979\ 580104856000061410413821508173623979946361127142035704970873455696489690793978* x^90-23445798052983669469532152958449581093530977210350752590935317867118463017\ 7543872816431509105661560868193603763289491190093335897424004119093634687523166\ 0621778232*x^89+277488373230094738228105532463350946535500102552013549269910968\ 4411798761960992276657520081297734327717965566537383801489201808964680215599418\ 16295557361271979989*x^88-31506597835439686321072764243659307328066390694295559\ 3838851712173345247550375518678653522176207830467193714445572918916298255903055\ 44680108568192702851276882216*x^87+34328708857054344074247598369093198745069888\ 5388705066855332457122336709776796605375553296889533112980488428202703498217523\ 2059628186431934089009239123062207286*x^86-359025935493683692915276891045815823\ 7974678263814368697637796835633802884356106289694715242324230393231532859918825\ 38923355354513278851649264181310077181991672*x^85+36050471850442222049189552714\ 1880279460550747954163121647926867770795069762108426973369281715950912781101252\ 94320429537338100377001761602500235754001885991681*x^84-34762325336674491179789\ 1763809879543311146748633511044640651701007710120804075622330701524604582046720\ 1987524578770600543214386378877055524945182003018537182*x^83+321963959705475296\ 3659335378581923166419802917115062259879243880124290084786738032756305397533269\ 54701053917693538930673565089585183116760921131614749391074*x^82-28647469874168\ 9675530464678639502029113863251413409509991636679760630997858395927645290021515\ 14204976034412010622897168968484090728292493751942179676522024*x^81+24491662227\ 6949928843173891936598069935314275301937590803121890643403074628257215733663064\ 7140960803091902335165475951723231757957491312695274038167698187*x^80-201218669\ 1954754188491045570048187853654571929997280448953118276631158698448020269863239\ 93659434214499660969847603239318842551543207115125491249798402564*x^79+15888912\ 9040024430501221886562180777309266105796752317491837824278084530127699673071322\ 30189843056727732319482229321382876750149695754480190173480462248*x^78-12059988\ 5177380422852422395363038076412011522658315957942178218808468409531396181537622\ 8190782119021074120919258751569446209946208427181267208613278928*x^77+879975284\ 9021774753113246027712555449218952642968122410261104671812337879803078488465584\ 4782563723280859594159521813907644286430442372363826972320342*x^76-617308580035\ 5871374151556495802997524825082551745579796228071035362281773064928134677502581\ 539995646795524615116062294250166556389485107857924223598*x^75+4163640591502548\ 1343248852110464460380250182724921293987536912155728230410183855822179131001641\ 5943123405850693940301170978110473773244894341853182*x^74-270027253114600402500\ 8393769146968325251569505656501907432491122218809988038530807861518182808113913\ 7392440620543783865220558157172437213005631578*x^73+168392751852836826685161378\ 2886883689928020644105294782902741695076337272959331893560318033933233746255509\ 370218679820742808864237515563046437889*x^72-1009792873849855490765365145966154\ 4842563055596362727537340203573762370604676585287176411744563710366907499952239\ 3066128210273264616616689956466*x^71+582290559054132517083132357584800937891885\ 4125257930048760881379195250675900611535707926649300057737947059772839803501202\ 065063992285478627618*x^70-3228828287035682245563026762021641096559324422230774\ 2658031529406177370563544774448577372234437499974974413890401891366504568961410\ 5689369144*x^69+172163437265508231160642401220130768790809137213902693925084231\ 46776832266636975863719087490472274414982419986960601422416959157851743983043*x ^68-882702816613194972799757586044983720841411239323242938774159211634681590036\ 701414702583351418765187942639430466858111370580303686702274288*x^67+4351573841\ 2101935808185437023211621581986859843244112980096684276577602045246216023788239\ 277487045352757350342422232714421884849888095704*x^66-2062580422017567884669609\ 7118643682099090733782145134217533193643231557467940374840655197506115402079169\ 25596827311215526012453296781256*x^65+93988840757307070448191460905890349580223\ 0354418895645763821786443421030611832770957704375374405821233043193926286584556\ 36971131338054*x^64-41172234584715523999636256449365826332742992098331931137647\ 82501089649329649960412958032886393424761903481539264344786241395110078268*x^63 +173360771009933504863565863807152665720888524670568957329675805310117361618854\ 631213851516133629553111120736148160732720358215466126*x^62-7015595034306140384\ 8928538764035380794024665449500467922308137948514029957298692263182124354172598\ 39795306244887893110005050845754*x^61+27282739248438190683711965277441741906948\ 8166895265071281412938638864462122566526061023264432927296246456454305317446662\ 605697528*x^60-1019429088801395265705943935863029182155018888314990263881147090\ 2229736265283857843927548674477492183855493578878642342373147168*x^59+365932227\ 6948803375719125520455127970448585137543934894022018504205423218943254329646705\ 48034521231803393200843574376607130426*x^58-12616558865980579226145947339719583\ 2203901009844803651631759727174566492060574950691515833328611625144960027007352\ 60837354184*x^57+41772713769499868050417174365252076833172431219562778800692718\ 0977568783693132338636729061754262732022342277012173571115856*x^56-132789437442\ 3153906091344634288367783031425373993650671472668121097105600764634645029239941\ 0314028672956813003500406090748*x^55+405185078649347173024672098243972492348861\ 303424880560598131231478541603001066814056586723671492529255738539015973579228* x^54-11864641941334023321354273408736156805879107839248929545030500730540948786\ 394694293473634047347640011998873916880616168*x^53+3333122355774279700802102721\ 3521874256088469737448147538581465748063384574465834066549420770507231124053599\ 2558157194*x^52-898088420191718923472878700391159512544333525237393806659403405\ 5896229468238386664238131656911860945710557182391578*x^51+232019919241310494495\ 5339961094262177620564544542578987199960089318868794426396232782213216283733471\ 05752558981142*x^50-57455004214778700302378842131468645721583142515560580915397\ 05482733385056310523624979603993176415932313959127906*x^49+13632500485166811728\ 3870732729673349616155635955620940211840665607002118158473331251926043477187387\ 334838142456*x^48-3098182939607007267547066806630538917062182733376441096765700\ 179032387040378116282420474449179203489700452628*x^47+6741413262716111485606894\ 9833349595659515021295092375997956197885498919225887005825796817277334078016583\ 234*x^46-1403863373702490624939561056698006216628386624620740117683447652106718\ 335165449556954737343900939964123330*x^45+2796629752528290466868456701788831916\ 6534651708862406693908301741167630919231824755871160766688662449229*x^44-532691\ 2371935701050789954681353849077438260232390246283065469205649715551089962555835\ 90423558487585648*x^43+96967920312935137969511795762166771222212520423007970373\ 84479841661441547206412433406578696182823638*x^42-16860117511545202222326555990\ 3930314513878988100599665556269978864414829659610638756348487763713296*x^41+279\ 8509887651191295458653716089572328593975800614291641480603919273252353956741133\ 273060279492156*x^40-4431649090947204884783945607809258171877861690972528563646\ 0448279229518103593117140403303940238*x^39+669111467455107032018900111220325192\ 554281949453889113973206870448171720849447331387513189854*x^38-9625674058422909\ 729788737257350084808574572176029340211815174689034616369547396930907943116*x^ 37+1318407909457509036354841124518675378578355725815978473493864686096281517107\ 73309978066285*x^36-17179908799208463177543122558237438515481690915319960472579\ 69237459927424348982557019406*x^35+21280863588500355406021057010933192302088907\ 005058488773157647573711613544013201477062*x^34-2503667725662803515798496698219\ 14952878452925708212405727808945140144762063735626202*x^33+27949866648392769055\ 84919144911195893424161250718442437913024611044315510980837412*x^32-29577920133\ 291766420972015711371048644868407110254363828917332733603141075065336*x^31+ 296401118199453242488461262859896661671202946068422078831211015008005245660666* x^30-\ 2809462879547947832926394325671560890672943401288202043011107209485937901830*x^ 29+25157604325010536034094277689031194293351495110769368668216671447336616111*x ^28-212544467553012420625963952716838416055854016965915134445632770727925972*x^ 27+1691817552452164493188567544334804969986648038096386045436171792184078*x^26-\ 12668378612843343702066643058998915613393304255826134711984154622982*x^25+ 89092139863174205103269437576937425279676764052572317231421461758*x^24-\ 587402499457459916993735993627079661825387248661468993710235628*x^23+ 3623849535050012049760128886994264818026287555306310423521392*x^22-\ 20874997201688955897228381209002242077536197811009042467414*x^21+ 112021716631713563712655715618699160177899618666006716769*x^20-\ 558594374079630166641896895353484465323133989044613364*x^19+ 2581041613162902197618725583871254629796993401558812*x^18-\ 11016705770751639997262089467857915188056870649882*x^17+ 43288002086571850772849344747049183091090883098*x^16-\ 155977662381881917891325769924291306231351650*x^15+ 513146534033341189256034846789629446828688*x^14-\ 1533737465889665828419871630887087761026*x^13+ 4141168844995789185118171089180295399*x^12-10034594594557209187999750985135026* x^11+21653888783446776061731025538266*x^10-41234413544873877635651623408*x^9+ 68529989596839674713473303*x^8-98062603330305242885546*x^7+ 118766534909816859410*x^6-119063604304540924*x^5+95859867314257*x^4-59349321664 *x^3+26400868*x^2-7466*x+1)/(27936247441604753414957927467717863911329138696868\ 1971081489845716119196128173667719099949951134618051249491389662964885134781230\ 8284138198297813894510747849589894948606443520000*x^136-38632811761934249588567\ 6772082509794930910606063925800590372391253625797473847124507273272002805452224\ 20471326615777409053654518955139057525262684285423423619067435695841738752000*x ^135+26203635257049525786980660008854358473752227124081962636247786384559389544\ 3879745635149540580201050413578424913298236528328187651165185229974479121448604\ 238165493517156916972748800*x^134-116246174042988758836897090374747466669502768\ 7279939398807355819054277691305088941738740866946533978433831671226242827706886\ 088977901373248042138736691537185741192862468301935083520*x^133+379497633930326\ 2602520451763985600535370602942282009256074908121956839655358187217241088848516\ 9742068768283304146459287881718857923643060039309275088107396506393894868703229\ 25797376*x^132-9725766744407949301625050330558390900448113595165612204956398661\ 5782293598686046201129984344919961458554842843621059415818847624426973616852958\ 10047166037336203321259393186034352128*x^131+2038394893773937805926045871209910\ 5888755002148181497775440766609558213211700367355872721061069657358049664358129\ 971716453362021900610895767596375311671187094402278426445065379381248*x^130-359\ 3918936478924348678914556859996310777922037883159765983699162488193798766169458\ 5507088461842813133671022623692195198144688479133973873743605273999167193761676\ 129530897302288334848*x^129+544183227297919182936952445178523440722108688130152\ 0674678901044644017748673266933477760896162485835342279076443665347344375564178\ 2559135531940658644657105438510559515037573155127296*x^128-71892015975225839476\ 9137547619663125979739365775372669800265990947490437003482147320015342115671939\ 8916791431731946089276071894810063920366557934757913962484902253817608889788530\ 6880*x^127+83905067209569556537342651002114137477900792323003450308686509262952\ 8535092409378649049902418869397491130000677451052125128208988753663376496364393\ 67343156696031784252524237686833152*x^126-8738708771413887640774252838537968828\ 4000868836035714342216373926977144032011207911373640979519499271720907681422494\ 958325137417032502058218635842902020484955229515692963457118765056*x^125+818980\ 1844680817061721041897511431288493695893680715741999894113936924924106863947611\ 7939792711047892980984919436950203205841666567227198057381083758863965382275119\ 995457970052792320*x^124-695506665304234991016624908455053202624973669920573313\ 6868009299481082849698373417318179940544591944936260183001109003110957847047010\ 5295685338200745651266589631588725666598273417216*x^123+53841080253710762407863\ 5631528973938346354308515048355423329130702374199270780927549485385279390142196\ 6074643286790246487019625129856425386525327252742772956563483811208173955717529\ 6*x^122-38188703207946566757352843325043757664368361795116438227529120457230977\ 6793825190826564477714665063448778852836945743531530384675229128942842945065519\ 33766984775397486921419602100224*x^121+2492868268704252099040970820933786900056\ 9403585872479844894801634015270115611628346250684207562944802711542011550987927\ 594992646861430326417914491996742221972949425669323476085768192*x^120-150350364\ 0848267342147064023049072575275629863923676500514242150675880550339431622258915\ 4309312294990798561692045022632146251749966594260529965792150212897537123868910\ 631254215897088*x^119+840719491311509126240867875517180909480730418805497638731\ 0449239687540875690065720296088220533264955119929114262732936690727247880548822\ 050399872899182839399296551506579450618951680*x^118-437194728404211477723776839\ 4222318588957678935620847015236305142967699514902556730286020899496500781636796\ 584296466355403302501183169475722071177112731863681667754467086811099727872*x^ 117+212017495977199367925807780696595089486377147666072359116871100695412174342\ 8639453926952841599465736341438751391298967439226546026745368183189848345310647\ 635379618153117196187130880*x^116-961208659115853856464807424770670262318237217\ 2791092270880044815025734205287308841198712430607275423581298478731976583153714\ 49086759055615950417368174793776246164518685810917071360*x^115+4083061566352552\ 9629036297593002074473600780621181522446425493267393319366718853188443501551931\ 4580213830999946189502788482171646948475168547781312403677597201065595035582702\ 223104*x^114-162839591556118395579829953710442912120772383187222981779349585687\ 0054421800366761547376022941342383250544986321080933994755450846625316808294609\ 92913133786271137604874839975798016*x^113+6108648704538592115205482411369062335\ 1730424776355369203268112223749475762985095802220540533533232914201904489045694\ 353035369952240737178564475005974249074017805792322779623270656*x^112-215912477\ 3580671975914539657590510971608398322710075944451742847537146018968347120226223\ 2404666074566467422780577722091350544631526467293078561863385588714278053161434\ 920668562688*x^111+720166996138165578578649860648744156966103510015800277042566\ 4859020981700275835995085598755992000582525567948117289022164159740686489333782\ 524875624902747610309815097748662534784*x^110-227003640167670537927853328371619\ 9646543496408936553270426090809706753401782138078524505237572934070588656995386\ 898636913701490600619723569995144026703121410802053328306803444736*x^109+677094\ 6435888622305412450889743934541444845177067936290808282358256659755490188764493\ 3986435954627432365502604613817155495696312168485096801692916416077945573377001\ 2175261483776*x^108-19134284215817242013663650161768753833228229939011711554636\ 6256876244117770019159118104881257289507240920306870881233649217050316042657418\ 411723715981003889402022845192484483552*x^107+512874941940358947749100060831090\ 1090289988491919572698593431375287445662150731468515908518769078840447971346142\ 5374891702077928947328836622192589763293453978858247467193443216*x^106-13052743\ 4345932862065838291321895613773079389467493129974252842547603080046777167853592\ 2328934614368106535945399174205681266285331437826720716819202963669839167127592\ 3460612176*x^105+31572253173882271797978843670770859669707606817523270696540937\ 5119808946672418965852013198141822546922827708823124242633352791823452289416855\ 8230827953614249624926570327019776*x^104-72646683125167949741297085952371236990\ 1705865204856047135671249139643502609350135505902015782863085733744519842198182\ 289743091566464103604369322486098604944003838624425368056*x^103+159147021089531\ 5411594832745154006359027187737471042110444754552781113904360376844485217725553\ 1192862248246797465107949295026476393590964306323687652467585288843376967797139\ 6*x^102-33219654561358681904822611133132160359976447150042342120034013933470172\ 3471061869358875525443192489085373867727466635916628947481888476979637179983299\ 17184982256773342733028*x^101+6611868308224403145111897820098857118454215497352\ 4222917761454669273503489030766284057609461290526824570683442284843506127786647\ 48913154505993799126475040875272667975499028*x^100-1255692656881152770784896426\ 4976567488079536591440387687743290485206319516649361697943972247789244646050395\ 99056097888047049091268604765230521148418474966396702996290147792*x^99+22769354\ 1527650150376832676982433759218106741459179869792967882951750251987872784481963\ 4280223068444210162599844602814775831357611521495136494411339159849128545293183\ 71866*x^98-39444485956427035919001102071516361073936910520964808598825816451428\ 5087176978018714807092466804942403860665371828821866329473124794458338528963363\ 86061882103568401139936*x^97+65318064008983816148052756546025191193897731139170\ 9172076037355619652915417178390499275094003043277733797071659242085287964918601\ 7059512837358531210700556698456875542877*x^96-103447302204863845719097079363032\ 8947725414388174054224081688901972510883461445297821538511288146828563062040547\ 007255137203398346716849642936392511227874070671832336208*x^95+1567677075722815\ 6988470944404781320100463542436578133710586611853972686201599047705206534657422\ 7912619301561131233897242377143506000099713492265298116168240209383951516*x^94-\ 2274282960132486014417486224821300823795893713527575263574058237229215716942766\ 0722432745844825359074484327876449003920796246189679060934672743915339800802658\ 800815954*x^93+3159866235370360867211933904039914276694478089954464347365169463\ 1585745925864727988294207228006313180742250485668422808338550455273155649367224\ 59017848164612721847454*x^92-42063246424827056135966355265362524456116027798587\ 7244021388313023249617445748984734657844620284276443398987844104456171836730412\ 311847994017608810236351894088692806*x^91+5366717454893652358112460630891273228\ 9425489213440686809083497802271097669457606004463290609019297045488730009056925\ 140237705533291702613672471836623985737076068792*x^90-6565041582270600600441841\ 7912173447367230952422061586756440920009730029827411790982842166959450460327001\ 42300536844828507697898769623250116370781525602551524808596*x^89+77024614004250\ 1568897308654749800527721933626984408318882501589787430233928018874390197898156\ 508298751470602218154819053286640724667125205061349278715788763536157*x^88-8669\ 9263499237173370362562946435368301389651885028140018301998413155987054692465820\ 437059084466472819162603658893471387754782781866897951630826479709367893269508* x^87+93651800334680875897376734374301375046735996888642415685649284544015679600\ 0505271111233831177658810746642403285934073801047858089793382015339702200174035\ 6540466*x^86-971054514689573133721882664770365541693160864904116811826831672251\ 3274752677602075065539505613272809970617375749356316988666936171249300974147896\ 81090172496168*x^85+96672073852861422711071339729203632823192440463376007255589\ 4910157669849219340254062578664103561402971436498200309336212953640079313601973\ 62693051517672173541*x^84-92423666097221133412746997359667009335648596675650070\ 5180715230411421811596260127697948273933037113895143852842401390972636583321143\ 8651207110313847373423090*x^83+848744124667056724182071202736401810792408030813\ 2525313288518338398349215736336902652055781177374634699138892344488742535102429\ 25124384338410772838572818624*x^82-74879113207327267666901720571879507285520277\ 7963477566612243691183746268474709662246673295484413678494161943529190504059706\ 00042015058622952655467420016432*x^81+63475517359809115067601226663103558377961\ 8752395599266879998240005094525761011834678786382126869065859719515142646811002\ 0962871671020467021413619757787855*x^80-517103447919515632831825912577043797169\ 2636809364502987700346996240349278091987348435963747192777262124625309817558315\ 90950127846660976226645422049202916*x^79+40488443842082781617534729143885706262\ 4429844932740875592538047359234975204919442804634490282591977370024406942911861\ 95412715860099392326760286851442476*x^78-30473131066721310569101683117017055671\ 9659290766170003555416444269872404382640108786951386160585302333987444246795458\ 8325087091921902273396600771036168*x^77+220484713597835683076542883419213209471\ 0577252152978983258223454407917338311958910173357319421474512268213313916891515\ 50674766882648139286958168430998*x^76-15337398386401214144790025600286149482889\ 0952420496255236745301157656379253200988925990409932688120413366859149425540383\ 16400634551152811515538884942*x^75+10258091452141635644491227409068283479858777\ 1498640771365360468011111899314592217016329187546555194806079488121812993574566\ 7148794508785704573129166*x^74-659700000803212810364859805939141411272483501799\ 8070538171416810996612207009261284997526708094225115862663545911995128151876846\ 6351407241689015910*x^73+407951450568303109193867538611924922582998586353314073\ 5822117069166293311132693683776151976737973029133268676899741003635303663607142\ 570635163265*x^72-2425846340368399321134949429485970425607241124092389870688317\ 2333971084010439940686851225924684813364803221521405103532334423817252180475672\ 0274*x^71+138712432168636454534029423154247580873361993987345458046300902205822\ 68188552007043984761959903427470913562744779844315519451265751838495673732*x^70 -762716338855203848463297987105271616564363679149944934112467368259861014693283\ 583615476723661737803081755605684308217810800806017384295406820*x^69+4032722702\ 5995623921057053895757690561202356638492792986876876719464695290490932973116067\ 781185943347851175721924294303622419946383891126563*x^68-2050251865983980295481\ 9670578418914766445109926048241916254648222947738363112537356522641835222579426\ 47703635680893586824748189104532565924*x^67+10022344399359375774172592016762457\ 1003254934375954142611864851804522785126552456200567230639106130101205313460135\ 819058419455185989973104*x^66-4710404119977141076160266162284232991779794598930\ 7172767820094748748570913571078211186463931157879740460875482272525182080113114\ 10900712*x^65+21283398923408360010036131998815033344281724346128972486749721646\ 7953378608443662366265496784938317998025846511451744308932620849379822*x^64-924\ 4399277407397398864597293575164108614775376720657110576139869674081302577822600\ 371007275599258850889009851857306114153740053223124*x^63+3859453720458495078131\ 6507986494468491771568918101450714562925515115400718583839705288541989716083204\ 6629458246691721463991136235570*x^62-154856873379574604524034563475077522280009\ 0436367887304111814612520961758852239950622532637705785495054719308465107260773\ 2032134750*x^61+597082228388421026195149248372800537941910637795629899190013827\ 897523529718753786048738844258535391236621807978580646123281714448*x^60-2211931\ 2633555259353219442820179068832333545847369499134227030831020494561252190802924\ 217708097617175087534089330566411721379048*x^59+7871743216335526312042714393054\ 8371957520284521660649095442332697421589691070804606213900937039287264713170364\ 3115295762934842*x^58-269062406228313596102892369851914830813304748623730719635\ 72557699266782577576541210220941822882918678924494591210474909383076*x^57+88314\ 4519095283624021367437420072782403977468010562194308579499046735197743355451696\ 731425762367662434831174410769079369556*x^56-2783002974504963694983680866025880\ 3134045395988259440784351962910965298224975703748081318236948929890189455571341\ 504652944*x^55+8417780650891685355898126551895964363031521448173114486307555228\ 65139843373331242927378643721168740945545431070587657972*x^54-24432880157971282\ 0241158534306718933022571360340638218046005322818031627555977970435366849746471\ 68782024281714636545408*x^53+68034287962775441231212482447870126679411402389907\ 2787892674272497581331919604379452379560272957432501784809846666798*x^52-181690\ 3024809058634403993324194706674079848151991926516899808326009194859029106484423\ 7499362454585631756966427500818*x^51+465213457129330748920747282176227708939436\ 172283565293422877875857241258558840793808058979227422796883013718421434*x^50-\ 1141684819195366498043468083287304709200746670077019301527571065034486753590429\ 4498421019076129052601316133000482*x^49+268448494566819859409699135791641302662\ 432589568035477919283889807551781822833261761184857058295379912818761248*x^48-\ 6045524178736100654289262701610937734376408295532185747413286519120190318451210\ 575132268607850232824928894872*x^47+1303443696967840512819000789404051905351433\ 62799942852049548581054213613016584309205951601708574245695949618*x^46-26893795\ 7513724771573387573451628705668738856239806133201514031220650586107370815283272\ 5916753820408898638*x^45+530784416520939667652855982268793496553942231154158188\ 91145774474706727500182387617264787581004775242577*x^44-10015741168509147612659\ 5363007194132328446676441040696835031373870243861299268455494944575816409017151\ 2*x^43+180603740105876057824559733209468871935108721780604856017560210454997682\ 11989002261929557336804524040*x^42-31103940717503405675559208985821772116467546\ 0667455834787082595085103256429484825162637145022581508*x^41+511329741306434119\ 0261266360919595207736850753636971768616004965096142849420018726145702462171112 *x^40-8019001426740620280751279299314446525320386636165936774834504534932104997\ 3662020707275141563334*x^39+119892893644910363632146979079337824757087058757211\ 4871513979620387915846010823918429451328344*x^38-170774639259867172986057496068\ 87303556515273919374846511048309829734169419925472478708341108*x^37+23157638041\ 7238776778657262784476593725976396822238279929951374791529795451912405615810969 *x^36-2987240370448894626874210952934075093368206577026373623208136445458210491\ 520852403627110*x^35+3662634035823912044738179957234506612074694767277835696838\ 3781032324509090194562914418*x^34-426464980807819645792473429459312751201341008\ 790297742493102064751858295820005000806*x^33+4711220463698449303216897732978603\ 194693250934550292637518877167106766737699826184*x^32-4932986020885656346643412\ 0916797319439025679285730883041416340683046997745607964*x^31+ 489045160120843007258878422687536628296384866229991659900218011527535194995326* x^30-\ 4585156025935507194761431756525801117643417953605040091961465751520490879038*x^ 29+40606247407895833048728319436884292269297004774397075119293853945451687279*x ^28-339229130344222214790000385531984709710646882031274017003145523160003048*x^ 27+2669557251456657785341755588783847311706084331320721137093648141458712*x^26-\ 19759091975943317500268719023594030849294492538773286083100324146762*x^25+ 137327731845583907170218899523118732077537079387705169163317163786*x^24-\ 894611685756358155813133794754864838609124072919996421891586032*x^23+ 5451922321990453357938799920675229965494735249866882700809062*x^22-\ 31015631966700151234208381779381630186570786439277090206290*x^21+ 164330275288112917461766486039451921246825654009748654509*x^20-\ 808818645492787660660690701920760591772803252958302156*x^19+ 3687717303548996333132314190491278485525749708886268*x^18-\ 15526756641130818040995038219332878692260613069886*x^17+ 60160240524568681987049431148156732128143045146*x^16-\ 213673589168070501662429666304112066245566190*x^15+ 692619241574427848455676784706283271824988*x^14-\ 2038777814369390252423441154237944993562*x^13+ 5418618378467804326177666257742117147*x^12-12917247926039167494881285272579058* x^11+27405709205119485419355946682408*x^10-51274082375249535040034193152*x^9+ 83658584800484711753101191*x^8-117418382077141470947474*x^7+ 139341721707907868306*x^6-136708793010911560*x^5+107562650496809*x^4-\ 64966624472*x^3+28131602*x^2-7722*x+1)]: L[m]: end: ###From Cfinite.txt #SeqFromRec(S,N): Inputs S=[INI,ope] #where INI is the list of initial conditions, a ope a list of #size L, say, and a recurrence operator ope, codes a list of #size L, finds the first N0 terms of the sequence satisfying #the recurrence f(n)=ope[1]*f(n-1)+...ope[L]*f(n-L). #For example, for the first 20 Fibonacci numbers, #try: SeqFromRec([[1,1],[1,1]],20); SeqFromRec:=proc(S,N) local gu,L,n,i,INI,ope: INI:=S[1]:ope:=S[2]: if not type(INI,list) or not type(ope,list) then print(`The first two arguments must be lists `): RETURN(FAIL): fi: L:=nops(INI): if nops(ope)<>L then print(`The first two arguments must be lists of the same size`): RETURN(FAIL): fi: if not type(N,integer) then print(`The third argument must be an integer`, L): RETURN(FAIL): fi: if N=`, 2*d+3 ): RETURN(FAIL): fi: var:={seq(a[i],i=1..d)}: eq:={seq(L[n]-add(a[i]*L[n-i],i=1..d),n=d+1..nops(L))}: var:=solve(eq,var): if var=NULL then RETURN(FAIL): else RETURN([[op(1..d,L)],[seq(subs(var,a[i]),i=1..d)]]): fi: end: #GuessRec(L): inputs a sequence L and tries to guess #a recurrence operator with constant cofficients #satisfying it. It returns the initial values and the operator # as a list. For example try: #GuessRec([1,1,1,1,1,1]); GuessRec:=proc(L) local gu,d: for d from 1 to trunc(nops(L)/2)-2 do gu:=GuessRec1(L,d): if gu<>FAIL then RETURN(gu): fi: od: FAIL: end: #CtoR(S,t), the rational function, in t, whose coefficients #are the members of the C-finite sequence S. For example, try: #CtoR([[1,1],[1,1]],t); CtoR:=proc(S,t) local D1,i,N1,L1,f,f1,L: if not (type(S,list) and nops(S)=2 and type(S[1],list) and type(S[2],list) and nops(S[1])=nops(S[2]) and type(t, symbol) ) then print(`Bad input`): RETURN(FAIL): fi: D1:=1-add(S[2][i]*t^i,i=1..nops(S[2])): N1:=add(S[1][i]*t^(i-1),i=1..nops(S[1])): L1:=expand(D1*N1): L1:=add(coeff(L1,t,i)*t^i,i=0..nops(S[1])-1): f:=L1/D1: L:=degree(D1,t)+10: f1:=taylor(f,t=0,L+1): if expand([seq(coeff(f1,t,i),i=0..L)])<>expand(SeqFromRec(S,L+1)) then print([seq(coeff(f1,t,i),i=0..L)],SeqFromRec(S,L+1)): RETURN(FAIL): else RETURN(f): fi: end: ###End From Cfinite.txt #FmxG(m,x,K): The generating function of SeqR(m,infinity); by (rigorous!) guessing using data up to K. Try: #FmxG(3,x,20); FmxG:=proc(m,x,K) local L,K1: L:=GuessRec(SeqR(m,10)): if L<>FAIL then RETURN(CtoR(L,x)): fi: for K1 from 15 by 5 to K do L:=GuessRec(SeqR(m,K1)): if L<>FAIL then RETURN(CtoR(L,x)): fi: od: FAIL: end: #GmxG(m,x,K): The generating function of SeqS(m,infinity); by (rigorous!) guessing using data up to K. Try: #GmxG(3,x,30); GmxG:=proc(m,x,K) local L,K1: L:=GuessRec(SeqS(m,10)): if L<>FAIL then RETURN(CtoR(L,x)): fi: for K1 from 15 by 5 to K do L:=GuessRec(SeqS(m,K1)): if L<>FAIL then RETURN(CtoR(L,x)): fi: od: FAIL: end: #PaperR(M,x): an article with the generating functions for tiling an m by n rectangle by rectangles for m from 1 to M #using the rigorous grammar. Try: #PaperR(4,x); PaperR:=proc(M,x) local m,gu,n,f,i: print(`Generating functions for the number of ways to tile an m by n rectangle with Rectangular Tiles of any Size`): print(``): print(`By Shalosh B. Ekhad `): print(``): for m from 1 to M do f:=Fmx(m,x): print(``): print(`Theorem number`, m): print(``): print(`Let `, a[m](n), `be the number of ways to tile an`, m, `by n rectangle with RECTANGULAR tiles , then `): print(``): print(Sum(a[m](n)*x^n,n=0..infinity)=f): print(``): print(`and in Maple notation`): print(``): lprint(f): print(``): f:=taylor(f,x=0,33): gu:=[seq(coeff(f,x,i),i=0..30)]: print(`The first 31 terms of the sequence, starting at n=0 are `): lprint(gu): od: print(``): print(`----------------------`): print(``): print(`This ends this article that took`, time(), `seconds to generate `): print(``): end: #PaperRg(M,x,K): an article with the generating functions for tiling an m by n rectangle by rectangles for m from 1 to M #using (rigorous) guessing by fitting data up to K data points. Try: #PaperRg(4,x,30); PaperRg:=proc(M,x,K) local m,gu,n,f,i: print(`Generating functions for the number of ways to tile an m by n rectangle with Rectangular Tiles of any Size`): print(``): print(`By Shalosh B. Ekhad `): print(``): for m from 1 to M do f:=FmxG(m,x,K): if f<>FAIL then print(``): print(`Theorem number`, m): print(``): print(`Let `, a[m](n), `be the number of ways to tile an`, m, `by n rectangle with RECTANGULAR tiles , then `): print(``): print(Sum(a[m](n)*x^n,n=0..infinity)=f): print(``): print(`and in Maple notation`): print(``): lprint(f): print(``): f:=taylor(f,x=0,33): gu:=[seq(coeff(f,x,i),i=0..30)]: print(`The first 31 terms of the sequence, starting at n=0 are `): lprint(gu): fi: od: print(``): print(`----------------------`): print(``): print(`This ends this article that took`, time(), `seconds to generate `): print(``): end: #PaperSg(M,x,K): an article with the generating functions for tiling an m by n rectangle by squares for m from 1 to M #using (rigorous) guessing by fitting data up to K data points. Try: #PaperSg(4,x,30); PaperSg:=proc(M,x,K) local m,gu,n,f,i: print(`Generating functions for the number of ways to tile an m by n rectangle with Square Tiles of any Size`): print(``): print(`By Shalosh B. Ekhad `): print(``): for m from 1 to M do f:=GmxG(m,x,K): if f<>FAIL then print(``): print(`Theorem number`, m): print(``): print(`Let `, a[m](n), `be the number of ways to tile an`, m, `by n rectangle with SQUARE tiles , then `): print(``): print(Sum(a[m](n)*x^n,n=0..infinity)=f): print(``): print(`and in Maple notation`): print(``): lprint(f): print(``): f:=taylor(f,x=0,33): gu:=[seq(coeff(f,x,i),i=0..30)]: print(`The first 31 terms of the sequence, starting at n=0 are `): lprint(gu): fi: od: print(``): print(`----------------------`): print(``): print(`This ends this article that took`, time(), `seconds to generate `): print(``): end: #Start the Smith-Verrill arroach #Mm(m): The matrix M_m(m) in the paper "On dividing rectangles into rectangles" bu Joshua Smith and Helena Verrill Mm:=proc(m) local i,j,gu11,gu12,gu21,gu22: option remember: if m=1 then RETURN([[2]]): else gu11:=Mm(m-1): gu22:=[seq([seq(2*gu11[i][j],j=1..nops(gu11))],i=1..nops(gu11))]: gu12:=Bm(m-1): gu21:=Bm(m-1): RETURN([seq([op(gu11[i]),op(gu12[i])],i=1..nops(gu11)), seq([op(gu21[i]),op(gu22[i])],i=1..nops(gu21))]): fi: end: #Bm(m): The matrix B_m(m) in the paper "On dividing rectangles into rectangles" bu Joshua Smith and Helena Verrill Bm:=proc(m) local i,gu11,gu12,gu21,gu22: option remember: if m=1 then RETURN([[1]]): else gu11:=Bm(m-1): gu12:=Bm(m-1): gu21:=Bm(m-1): gu22:=Mm(m-1): RETURN([seq([op(gu11[i]),op(gu12[i])],i=1..nops(gu11)), seq([op(gu21[i]),op(gu22[i])],i=1..nops(gu21))]): fi: end: with(linalg): #amn(m,n): The number of ways to fild an m by n rectangle according to the Smith-Verrill formula amn:=proc(m,n) local M,v,vT: M:=convert(Mm(m),matrix): M:=evalm(M&^(n-1)): v:=convert([[1$2^(m-1)]],matrix): vT:=convert([[1]$2^(m-1)],matrix): multiply(multiply(v,M),vT)[1,1]: end: #FmxSV(m,x): the same output as Fmx (q.v.) but via the approach of Joshua Smith and Helena Verrill. Try: #FmxSV(4,x); FmxSV:=proc(m,x) local M,v,vT,i: M:=Mm(m): M:=expand([seq( [ 0$(i-1),1,0$(2^(m-1)-i)]-x*M[i], i=1..2^(m-1) )]): M:=matrix(M): M:=normal(inverse(M)): v:=convert([[1$2^(m-1)]],matrix): vT:=convert([[1]$2^(m-1)],matrix): normal(1+x*multiply(multiply(v,M),vT)[1,1]): end: #PaperRsv(M,x): an article with the generating functions for tiling an m by n rectangle by rectangles for m from 1 to M #using the Joshua Smith-Helena Verrill approach. Try: #PaperRsv(4,x); PaperRsv:=proc(M,x) local m,gu,n,f,i: print(`Generating functions for the number of ways to tile an m by n rectangle with Rectangular Tiles of any Size`): print(``): print(`By Shalosh B. Ekhad `): print(``): for m from 1 to M do f:=FmxSV(m,x): print(``): print(`Theorem number`, m): print(``): print(`Let `, a[m](n), `be the number of ways to tile an`, m, `by n rectangle with RECTANGULAR tiles , then `): print(``): print(Sum(a[m](n)*x^n,n=0..infinity)=f): print(``): print(`and in Maple notation`): print(``): lprint(f): print(``): f:=taylor(f,x=0,33): gu:=[seq(coeff(f,x,i),i=0..30)]: print(`The first 31 terms of the sequence, starting at n=0 are `): lprint(gu): od: print(``): print(`----------------------`): print(``): print(`This ends this article that took`, time(), `seconds to generate `): print(``): end: #End the Smith-Verrill arroach #DiGw(m): the directed graph representation of the grammar of tilings of [m]x[n] by rectangles for a fixed m, followed by the weight of each vertex. Try: #DiGw(2); DiGw:=proc(m) local A,G,T,a,A2,Na,i,a1,g,T2: A:=Alphabet(m): G:=Grammar(m): if A[1] minus A[2]<>{} then RETURN(FAIL): fi: if nops(A[3])<>1 then RETURN(FAIL): fi: a:=nops(A[2]): A2:=convert(A[2],list): Na[A[3][1]]:=a+2: T2[1]:=0: T2[a+2]:=nops(A[3][1]): for i from 1 to a do Na[A2[i]]:=i+1: T2[i+1]:=nops(A2[i]): od: T[1]:={seq(Na[a1], a1 in A[1])}: for i from 2 to a+1 do T[i]:={}: od: T[a+2]:={}: for g in G[2] union G[3] do T[Na[g[1]] ]:= T[Na[g[1]] ] union {Na[g[2]]}: od: [[seq(T[i],i=1..a+2)],[seq(T2[i],i=1..a+2)]]: end: #AdjMatW(WG,w): Given a weighted directed graph G=[G1,WeightTable], and a variable name w, (in our format n:=nops(G1)=nops(WeightTable). Outputs the n by n weighted adjacency matrix in terms of powers of w. Try #Try:G1:=RDG(5,1/2);AdjMatW([G1,[0,2,3,4,2]]); AdjMatW:=proc(G,w) local M,M1,i,n,j,G1,W1: G1:=G[1]: W1:=G[2]: n:=nops(G1): if nops(W1)<>n then RETURN(FAIL): fi: M:=[]: for i from 1 to n do M1:=[]: for j from 1 to n do if member(j, G1[i]) then M1:=[op(M1),w^W1[j]]: else M1:=[op(M1),0]: fi: od: M:=[op(M),M1]: od: M: end: #WalkGFw(G,x,w): Inputs a weighted directed graph G=[V,T], where T[v] is the set of outgoing neighbors of v, and a variable x, outputs the matrix of rational functions whose (i,j) entry is #the generating function in x, according to lengths of walks from i to j. Try: WalkGFw:=proc(G,x,w) local n,M,i: n:=nops(G[1]): M:=AdjMatW(G,w): M:=matrix([seq(expand([0$(i-1),1,0$(n-i)]-x*M[i]),i=1..n)]): normal(inverse(M))[1,n]: end: #Fmxw(m,x,w): The weighted generating function of SeqR(m,infinity); Try: #Fmxw(3,x,w); Fmxw:=proc(m,x,w) local G: G:=DiGw(m): normal(1+WalkGFw(G,x,w)/x): end: #CheckFmxw(m,N): checks the correctness of Fmxw(m,w,x) up to the coefficient of x^N. Try: #CheckFmx2(2,5); CheckFmxw:=proc(m,N) local f,x,w,n,gu1,gu2,S,s: f:=Fmxw(m,x,w): f:=taylor(f,x=0,N+1): for n from 1 to N do gu1:=expand(coeff(f,x,n)): S:=TIrPe([n$m]): gu2:=add(w^nops(s), s in S): if gu1<>gu2 then print(`When n=`, n, ` it fails `): RETURN(false): fi: od: true: end: #FmxwPC(n,x,w): for n from 1 to 6 the pre-computed value of the bi-variate generating function SeqRgfW(n,x). Try: #FmxwPC(5,x,w); FmxwPC:=proc(n,x,w) local L: if not n>=1 and n<=6 then RETURN(FAIL): fi: L:= [-(w^4*x-w^3*x-w^2*x+1)/(w^3*x+w^2*x-1), -(2*w^10*x^2+2*w^9*x^2-2*w^8*x^2-2*w^7 *x^2-w^7*x-2*w^6*x^2-w^6*x-w^5*x^2+w^5*x+3*w^4*x+w^3*x+w^2*x-1)/(2*w^8*x^2+2*w^ 7*x^2+2*w^6*x^2+w^5*x^2-w^5*x-3*w^4*x-w^3*x-w^2*x+1), -(w^19*x^3+6*w^18*x^3+10* w^17*x^3+10*w^16*x^3-2*w^15*x^3-3*w^15*x^2-10*w^14*x^3-10*w^14*x^2-12*w^13*x^3-\ 7*w^13*x^2-10*w^12*x^3-7*w^11*x^3+8*w^11*x^2-4*w^10*x^3+13*w^10*x^2-w^9*x^3+w^ 10*x+10*w^9*x^2+2*w^9*x+10*w^8*x^2+w^8*x+5*w^7*x^2-w^7*x+2*w^6*x^2-5*w^6*x+w^5* x^2-5*w^5*x-2*w^4*x-w^3*x-w^2*x+1)/(w^16*x^3+6*w^15*x^3+10*w^14*x^3+12*w^13*x^3 +10*w^12*x^3-3*w^12*x^2+7*w^11*x^3-11*w^11*x^2+4*w^10*x^3-13*w^10*x^2+w^9*x^3-\ 10*w^9*x^2-10*w^8*x^2-5*w^7*x^2+w^7*x-2*w^6*x^2+5*w^6*x-w^5*x^2+5*w^5*x+2*w^4*x +w^3*x+w^2*x-1), -(14*w^41*x^6+78*w^40*x^6+246*w^39*x^6+560*w^38*x^6+964*w^37*x ^6-15*w^37*x^5+1276*w^36*x^6-125*w^36*x^5+1260*w^35*x^6-452*w^35*x^5+784*w^34*x ^6-1007*w^34*x^5-38*w^33*x^6-1621*w^33*x^5-904*w^32*x^6-1989*w^32*x^5-1519*w^31 *x^6+14*w^32*x^4-1787*w^31*x^5-1746*w^30*x^6+114*w^31*x^4-912*w^30*x^5-1622*w^ 29*x^6+411*w^30*x^4+418*w^29*x^5-1289*w^28*x^6+871*w^29*x^4+1755*w^28*x^5-897*w ^27*x^6+1228*w^28*x^4+2680*w^27*x^5-545*w^26*x^6+1227*w^27*x^4+3012*w^26*x^5-\ 283*w^25*x^6-2*w^27*x^3+764*w^26*x^4+2795*w^25*x^5-121*w^24*x^6-23*w^26*x^3-122 *w^25*x^4+2242*w^24*x^5-40*w^23*x^6-109*w^25*x^3-1083*w^24*x^4+1586*w^23*x^5-9* w^22*x^6-266*w^24*x^3-1764*w^23*x^4+989*w^22*x^5-w^21*x^6-381*w^23*x^3-2071*w^ 22*x^4+538*w^21*x^5-348*w^22*x^3-1979*w^21*x^4+250*w^20*x^5-169*w^21*x^3-1621*w ^20*x^4+97*w^19*x^5+146*w^20*x^3-1177*w^19*x^4+30*w^18*x^5+4*w^20*x^2+487*w^19* x^3-758*w^18*x^4+7*w^17*x^5+27*w^19*x^2+671*w^18*x^3-431*w^17*x^4+w^16*x^5+53*w ^18*x^2+699*w^17*x^3-213*w^16*x^4+49*w^17*x^2+625*w^16*x^3-90*w^15*x^4+32*w^16* x^2+475*w^15*x^3-31*w^14*x^4-10*w^15*x^2+319*w^14*x^3-9*w^13*x^4-76*w^14*x^2+ 184*w^13*x^3-2*w^12*x^4-120*w^13*x^2+94*w^12*x^3-w^13*x-132*w^12*x^2+43*w^11*x^ 3-3*w^12*x-104*w^11*x^2+17*w^10*x^3-3*w^11*x-73*w^10*x^2+5*w^9*x^3-w^10*x-49*w^ 9*x^2+w^8*x^3+w^9*x-24*w^8*x^2+7*w^8*x-12*w^7*x^2+13*w^7*x-4*w^6*x^2+10*w^6*x-2 *w^5*x^2+7*w^5*x+3*w^4*x+2*w^3*x+w^2*x-1)/(14*w^37*x^6+78*w^36*x^6+246*w^35*x^6 +560*w^34*x^6+992*w^33*x^6-15*w^33*x^5+1432*w^32*x^6-125*w^32*x^5+1737*w^31*x^6 -466*w^31*x^5+1806*w^30*x^6-1085*w^30*x^5+1630*w^29*x^6-1867*w^29*x^5+1289*w^28 *x^6-2603*w^28*x^5+897*w^27*x^6+14*w^28*x^4-3079*w^27*x^5+545*w^26*x^6+114*w^27 *x^4-3158*w^26*x^5+283*w^25*x^6+438*w^26*x^4-2835*w^25*x^5+121*w^24*x^6+1021*w^ 25*x^4-2249*w^24*x^5+40*w^23*x^6+1642*w^24*x^4-1586*w^23*x^5+9*w^22*x^6+2060*w^ 23*x^4-989*w^22*x^5+w^21*x^6-2*w^23*x^3+2190*w^22*x^4-538*w^21*x^5-23*w^22*x^3+ 2018*w^21*x^4-250*w^20*x^5-121*w^21*x^3+1632*w^20*x^4-97*w^19*x^5-338*w^20*x^3+ 1177*w^19*x^4-30*w^18*x^5-590*w^19*x^3+758*w^18*x^4-7*w^17*x^5-722*w^18*x^3+431 *w^17*x^4-w^16*x^5-717*w^17*x^3+213*w^16*x^4-629*w^16*x^3+90*w^15*x^4+4*w^16*x^ 2-475*w^15*x^3+31*w^14*x^4+31*w^15*x^2-319*w^14*x^3+9*w^13*x^4+85*w^14*x^2-184* w^13*x^3+2*w^12*x^4+125*w^13*x^2-94*w^12*x^3+132*w^12*x^2-43*w^11*x^3+104*w^11* x^2-17*w^10*x^3+73*w^10*x^2-5*w^9*x^3+49*w^9*x^2-w^8*x^3-w^9*x+24*w^8*x^2-7*w^8 *x+12*w^7*x^2-13*w^7*x+4*w^6*x^2-10*w^6*x+2*w^5*x^2-7*w^5*x-3*w^4*x-2*w^3*x-w^2 *x+1), -(2*w^80*x^10+54*w^79*x^10+571*w^78*x^10+3581*w^77*x^10+16052*w^76*x^10+ 56470*w^75*x^10-16*w^75*x^9+164313*w^74*x^10-347*w^74*x^9+408502*w^73*x^10-3126 *w^73*x^9+886565*w^72*x^10-17654*w^72*x^9+1704120*w^71*x^10-72960*w^71*x^9+ 2928406*w^70*x^10-238753*w^70*x^9+4522629*w^69*x^10-648042*w^69*x^9+6286294*w^ 68*x^10+68*w^69*x^8-1502952*w^68*x^9+7839878*w^67*x^10+1226*w^68*x^8-3038748*w^ 67*x^9+8686668*w^66*x^10+9798*w^67*x^8-5430878*w^66*x^9+8353795*w^65*x^10+49793 *w^66*x^8-8658638*w^65*x^9+6569848*w^64*x^10+186261*w^65*x^8-12376330*w^64*x^9+ 3404210*w^63*x^10+553686*w^64*x^8-15865736*w^63*x^9-702730*w^62*x^10+1367712*w^ 63*x^8-18132291*w^62*x^9-5044686*w^61*x^10-66*w^63*x^7+2886227*w^62*x^8-\ 18155352*w^61*x^9-8852883*w^60*x^10-1056*w^62*x^7+5296572*w^61*x^8-15227698*w^ 60*x^9-11515428*w^59*x^10-8243*w^61*x^7+8551581*w^60*x^8-9258039*w^59*x^9-\ 12727698*w^58*x^10-41629*w^60*x^7+12227897*w^59*x^8-901839*w^58*x^9-12527311*w^ 57*x^10-154566*w^59*x^7+15499406*w^58*x^8+8554222*w^57*x^9-11221536*w^56*x^10-\ 452744*w^58*x^7+17290101*w^57*x^8+17525867*w^56*x^9-9254436*w^55*x^10-1090890*w ^57*x^7+16591804*w^56*x^8+24561166*w^55*x^9-7071042*w^54*x^10-2220077*w^56*x^7+ 12835237*w^55*x^8+28709038*w^54*x^9-5020521*w^53*x^10+99*w^56*x^6-3883632*w^55* x^7+6159042*w^54*x^8+29702435*w^53*x^9-3314059*w^52*x^10+1494*w^55*x^6-5905426* w^54*x^7-2545359*w^53*x^8+27918304*w^52*x^9-2030426*w^51*x^10+10644*w^54*x^6-\ 7841857*w^53*x^7-11848198*w^52*x^8+24167378*w^51*x^9-1150226*w^50*x^10+48274*w^ 53*x^6-9053019*w^52*x^7-20176858*w^51*x^8+19415786*w^50*x^9-598884*w^49*x^10+ 158492*w^52*x^6-8895692*w^51*x^7-26238248*w^50*x^8+14538569*w^49*x^9-284172*w^ 48*x^10+405504*w^51*x^6-6972301*w^50*x^7-29319205*w^49*x^8+10166637*w^48*x^9-\ 121480*w^47*x^10+844596*w^50*x^6-3320268*w^49*x^7-29380370*w^48*x^8+6640101*w^ 47*x^9-46068*w^46*x^10+1471311*w^49*x^6+1550141*w^48*x^7-26947429*w^47*x^8+ 4044513*w^46*x^9-15175*w^45*x^10-36*w^49*x^5+2180042*w^48*x^6+6788792*w^47*x^7-\ 22876354*w^46*x^8+2290549*w^45*x^9-4216*w^44*x^10-679*w^48*x^5+2764240*w^47*x^6 +11459592*w^46*x^7-18091476*w^45*x^8+1200641*w^44*x^9-946*w^43*x^10-5243*w^47*x ^5+2968874*w^46*x^6+14808887*w^45*x^7-13376951*w^44*x^8+578895*w^43*x^9-160*w^ 42*x^10-23645*w^46*x^5+2585128*w^45*x^6+16441405*w^44*x^7-9263332*w^43*x^8+ 254705*w^42*x^9-18*w^41*x^10-72820*w^45*x^5+1546006*w^44*x^6+16362427*w^43*x^7-\ 6008601*w^42*x^8+101246*w^41*x^9-w^40*x^10-167935*w^44*x^5-27552*w^43*x^6+ 14900998*w^42*x^7-3646417*w^41*x^8+35910*w^40*x^9-307361*w^43*x^5-1852818*w^42* x^6+12561317*w^41*x^7-2065424*w^40*x^8+11188*w^39*x^9-462478*w^42*x^5-3574329*w ^41*x^6+9868256*w^40*x^7-1088076*w^39*x^8+2999*w^38*x^9+3*w^42*x^4-580319*w^41* x^5-4878803*w^40*x^6+7253690*w^39*x^7-530576*w^38*x^8+671*w^37*x^9+110*w^41*x^4 -599586*w^40*x^5-5582020*w^39*x^6+4999004*w^38*x^7-238023*w^37*x^8+119*w^36*x^9 +1089*w^40*x^4-476080*w^39*x^5-5657332*w^38*x^6+3231817*w^37*x^7-97471*w^36*x^8 +15*w^35*x^9+5316*w^39*x^4-204083*w^38*x^5-5210539*w^37*x^6+1958521*w^36*x^7-\ 36068*w^35*x^8+w^34*x^9+16047*w^38*x^4+175756*w^37*x^5-4422238*w^36*x^6+1110374 *w^35*x^7-11903*w^34*x^8+34226*w^37*x^4+585623*w^36*x^5-3487147*w^35*x^6+587132 *w^34*x^7-3441*w^33*x^8+55994*w^36*x^4+938056*w^35*x^5-2567775*w^34*x^6+288353* w^33*x^7-848*w^32*x^8+73317*w^35*x^4+1167313*w^34*x^5-1770780*w^33*x^6+130817*w ^32*x^7-170*w^31*x^8+77197*w^34*x^4+1246988*w^33*x^5-1145118*w^32*x^6+54440*w^ 31*x^7-25*w^30*x^8-5*w^34*x^3+60890*w^33*x^4+1189865*w^32*x^5-694346*w^31*x^6+ 20595*w^30*x^7-2*w^29*x^8-76*w^33*x^3+22518*w^32*x^4+1035283*w^31*x^5-394163*w^ 30*x^6+6996*w^29*x^7-467*w^32*x^3-32362*w^31*x^4+830962*w^30*x^5-208882*w^29*x^ 6+2093*w^28*x^7-1580*w^31*x^3-91400*w^30*x^4+619343*w^29*x^5-102920*w^28*x^6+ 533*w^27*x^7-3424*w^30*x^3-140488*w^29*x^4+430570*w^28*x^5-46901*w^27*x^6+108*w ^26*x^7-5236*w^29*x^3-169328*w^28*x^4+279829*w^27*x^5-19640*w^26*x^6+15*w^25*x^ 7-6064*w^28*x^3-174768*w^27*x^4+170131*w^26*x^5-7486*w^25*x^6+w^24*x^7-5342*w^ 27*x^3-160566*w^26*x^4+96678*w^25*x^5-2558*w^24*x^6-2755*w^26*x^3-133950*w^25*x ^4+51223*w^24*x^5-764*w^23*x^6+1686*w^25*x^3-102636*w^24*x^4+25232*w^23*x^5-190 *w^22*x^6+5*w^25*x^2+7150*w^24*x^3-72753*w^23*x^4+11497*w^22*x^5-36*w^21*x^6+49 *w^24*x^2+12071*w^23*x^3-47875*w^22*x^4+4802*w^21*x^5-4*w^20*x^6+161*w^23*x^2+ 15015*w^22*x^3-29266*w^21*x^4+1811*w^20*x^5+251*w^22*x^2+15556*w^21*x^3-16658*w ^20*x^4+606*w^19*x^5+251*w^21*x^2+14109*w^20*x^3-8821*w^19*x^4+173*w^18*x^5+202 *w^20*x^2+11434*w^19*x^3-4330*w^18*x^4+40*w^17*x^5+79*w^19*x^2+8407*w^18*x^3-\ 1951*w^17*x^4+6*w^16*x^5-169*w^18*x^2+5660*w^17*x^3-799*w^16*x^4-507*w^17*x^2+ 3514*w^16*x^3-294*w^15*x^4-766*w^16*x^2+2015*w^15*x^3-93*w^14*x^4-w^16*x-855*w^ 15*x^2+1073*w^14*x^3-24*w^13*x^4-4*w^15*x-784*w^14*x^2+512*w^13*x^3-4*w^12*x^4-\ 6*w^14*x-626*w^13*x^2+224*w^12*x^3-4*w^13*x-452*w^12*x^2+90*w^11*x^3-w^12*x-287 *w^11*x^2+31*w^10*x^3+w^11*x-168*w^10*x^2+9*w^9*x^3+9*w^10*x-86*w^9*x^2+w^8*x^3 +25*w^9*x-41*w^8*x^2+29*w^8*x-18*w^7*x^2+21*w^7*x-6*w^6*x^2+14*w^6*x-2*w^5*x^2+ 9*w^5*x+5*w^4*x+2*w^3*x+w^2*x-1)/(2*w^75*x^10+54*w^74*x^10+571*w^73*x^10+3581*w ^72*x^10+16052*w^71*x^10+56474*w^70*x^10-16*w^70*x^9+164421*w^69*x^10-347*w^69* x^9+409644*w^68*x^10-3128*w^68*x^9+893711*w^67*x^10-17708*w^67*x^9+1735906*w^66 *x^10-73531*w^66*x^9+3038748*w^65*x^10-242334*w^65*x^9+4837918*w^64*x^10-664152 *w^64*x^9+7053288*w^63*x^10+68*w^64*x^8-1560470*w^63*x^9+9465707*w^62*x^10+1226 *w^63*x^8-3211479*w^62*x^9+11740647*w^61*x^10+9827*w^62*x^8-5882928*w^61*x^9+ 13501838*w^60*x^10+50315*w^61*x^8-9712654*w^60*x^9+14433399*w^59*x^10+190416*w^ 60*x^8-14595919*w^59*x^9+14371790*w^58*x^10+574923*w^59*x^8-20122804*w^58*x^9+ 13350750*w^57*x^10+1448551*w^58*x^8-25609679*w^57*x^9+11583154*w^56*x^10-66*w^ 58*x^7+3134290*w^57*x^8-30232853*w^56*x^9+9391014*w^55*x^10-1056*w^57*x^7+ 5940791*w^56*x^8-33229833*w^55*x^9+7114183*w^54*x^10-8292*w^56*x^7+10013705*w^ 55*x^8-34102003*w^54*x^9+5031448*w^53*x^10-42501*w^55*x^7+15193317*w^54*x^8-\ 32745687*w^53*x^9+3316132*w^52*x^10-161167*w^54*x^7+20957075*w^53*x^8-29465149* w^52*x^9+2030686*w^51*x^10-484242*w^53*x^7+26497522*w^52*x^8-24869247*w^51*x^9+ 1150242*w^50*x^10-1202162*w^52*x^7+30920173*w^51*x^8-19696873*w^50*x^9+598884*w ^49*x^10-2535942*w^51*x^7+33485376*w^50*x^8-14636525*w^49*x^9+284172*w^48*x^10+ 99*w^51*x^6-4640515*w^50*x^7+33802950*w^49*x^8-10195797*w^48*x^9+121480*w^47*x^ 10+1494*w^50*x^6-7488195*w^49*x^7+31914893*w^48*x^8-6647321*w^47*x^9+46068*w^46 *x^10+10807*w^49*x^6-10801457*w^48*x^7+28249941*w^47*x^8-4045933*w^46*x^9+15175 *w^45*x^10+50377*w^48*x^6-14087418*w^47*x^7+23481005*w^46*x^8-2290749*w^45*x^9+ 4216*w^44*x^10+171501*w^47*x^6-16771425*w^46*x^7+18342854*w^45*x^8-1200656*w^44 *x^9+946*w^43*x^10+458007*w^46*x^6-18372802*w^45*x^7+13469478*w^44*x^8-578895*w ^43*x^9+160*w^42*x^10+1002641*w^45*x^6-18641829*w^44*x^7+9293003*w^43*x^8-\ 254705*w^42*x^9+18*w^41*x^10+1854385*w^44*x^6-17609200*w^43*x^7+6016683*w^42*x^ 8-101246*w^41*x^9+w^40*x^10-36*w^44*x^5+2965975*w^43*x^6-15546676*w^42*x^7+ 3648207*w^41*x^8-35910*w^40*x^9-679*w^43*x^5+4180069*w^42*x^6-12865208*w^41*x^7 +2065716*w^40*x^8-11188*w^39*x^9-5383*w^42*x^5+5269584*w^41*x^6-9997240*w^40*x^ 7+1088102*w^39*x^8-2999*w^38*x^9-25340*w^41*x^5+6016396*w^40*x^6-7302535*w^39*x ^7+530576*w^38*x^8-671*w^37*x^9-82591*w^40*x^5+6285078*w^39*x^6-5015223*w^38*x^ 7+238023*w^37*x^8-119*w^36*x^9-203783*w^39*x^5+6056793*w^38*x^6-3236399*w^37*x^ 7+97471*w^36*x^8-15*w^35*x^9-403531*w^38*x^5+5418326*w^37*x^6-1959554*w^36*x^7+ 36068*w^35*x^8-w^34*x^9-667433*w^37*x^5+4520634*w^36*x^6-1110532*w^35*x^7+11903 *w^34*x^8+3*w^37*x^4-948521*w^36*x^5+3529261*w^35*x^6-587143*w^34*x^7+3441*w^33 *x^8+110*w^36*x^4-1183398*w^35*x^5+2583851*w^34*x^6-288353*w^33*x^7+848*w^32*x^ 8+1124*w^35*x^4-1319473*w^34*x^5+1776129*w^33*x^6-130817*w^32*x^7+170*w^31*x^8+ 5854*w^34*x^4-1333617*w^33*x^5+1146602*w^32*x^6-54440*w^31*x^7+25*w^30*x^8+ 19324*w^33*x^4-1235010*w^32*x^5+694658*w^31*x^6-20595*w^30*x^7+2*w^29*x^8+45841 *w^32*x^4-1056671*w^31*x^5+394201*w^30*x^6-6996*w^29*x^7+84465*w^31*x^4-840061* w^30*x^5+208882*w^29*x^6-2093*w^28*x^7+127290*w^30*x^4-622755*w^29*x^5+102920*w ^28*x^6-533*w^27*x^7+162973*w^29*x^4-431659*w^28*x^5+46901*w^27*x^6-108*w^26*x^ 7-5*w^29*x^3+182185*w^28*x^4-280110*w^27*x^5+19640*w^26*x^6-15*w^25*x^7-77*w^28 *x^3+181451*w^27*x^4-170179*w^26*x^5+7486*w^25*x^6-w^24*x^7-522*w^27*x^3+163678 *w^26*x^4-96678*w^25*x^5+2558*w^24*x^6-2032*w^26*x^3+135241*w^25*x^4-51223*w^24 *x^5+764*w^23*x^6-5154*w^25*x^3+103098*w^24*x^4-25232*w^23*x^5+190*w^22*x^6-\ 9396*w^24*x^3+72887*w^23*x^4-11497*w^22*x^5+36*w^21*x^6-13352*w^23*x^3+47901*w^ 22*x^4-4802*w^21*x^5+4*w^20*x^6-15667*w^22*x^3+29266*w^21*x^4-1811*w^20*x^5-\ 15849*w^21*x^3+16658*w^20*x^4-606*w^19*x^5-14224*w^20*x^3+8821*w^19*x^4-173*w^ 18*x^5+5*w^20*x^2-11473*w^19*x^3+4330*w^18*x^4-40*w^17*x^5+58*w^19*x^2-8412*w^ 18*x^3+1951*w^17*x^4-6*w^16*x^5+250*w^18*x^2-5660*w^17*x^3+799*w^16*x^4+550*w^ 17*x^2-3514*w^16*x^3+294*w^15*x^4+781*w^16*x^2-2015*w^15*x^3+93*w^14*x^4+861*w^ 15*x^2-1073*w^14*x^3+24*w^13*x^4+784*w^14*x^2-512*w^13*x^3+4*w^12*x^4+626*w^13* x^2-224*w^12*x^3+452*w^12*x^2-90*w^11*x^3+287*w^11*x^2-31*w^10*x^3-w^11*x+168*w ^10*x^2-9*w^9*x^3-9*w^10*x+86*w^9*x^2-w^8*x^3-25*w^9*x+41*w^8*x^2-29*w^8*x+18*w ^7*x^2-21*w^7*x+6*w^6*x^2-14*w^6*x+2*w^5*x^2-9*w^5*x-5*w^4*x-2*w^3*x-w^2*x+1), -(896*w^175*x^20+28288*w^174*x^20+450432*w^173*x^20+4842752*w^172*x^20+39591680 *w^171*x^20+262444928*w^170*x^20-2144*w^170*x^19+1468079552*w^169*x^20-73088*w^ 169*x^19+7121084416*w^168*x^20-1248264*w^168*x^19+30546898848*w^167*x^20-\ 14269664*w^167*x^19+117616391168*w^166*x^20-122974880*w^166*x^19+411238146304*w ^165*x^20-852625828*w^165*x^19+1317919057696*w^164*x^20-4954714376*w^164*x^19+ 3900874850984*w^163*x^20+4448*w^164*x^18-24819594164*w^163*x^19+10731514045512* w^162*x^20+169764*w^163*x^18-109386415012*w^162*x^19+27586442549488*w^161*x^20+ 3145824*w^162*x^18-430791659252*w^161*x^19+66561962032624*w^160*x^20+38188480*w ^161*x^18-1534602036808*w^160*x^19+151330509334736*w^159*x^20+344016226*w^160*x ^18-4993474298888*w^159*x^19+325261972373408*w^158*x^20+2463184928*w^159*x^18-\ 14961558443064*w^158*x^19+662798319425364*w^157*x^20+14640023484*w^158*x^18-\ 41554923028092*w^157*x^19+1283605730611836*w^156*x^20-2688*w^158*x^17+ 74420200544*w^157*x^18-107593879703256*w^156*x^19+2367508705324700*w^155*x^20-\ 120952*w^157*x^17+330683516452*w^156*x^18-260948080353188*w^155*x^19+ 4166110766787688*w^154*x^20-2555550*w^156*x^17+1305910727162*w^155*x^18-\ 595258006077472*w^154*x^19+7004734325725772*w^153*x^20-34501806*w^155*x^17+ 4643609059630*w^154*x^18-1281667328092752*w^153*x^19+11266670171053232*w^152*x^ 20-338932210*w^154*x^17+15024387637504*w^153*x^18-2612688908224090*w^152*x^19+ 17351819396029640*w^151*x^20-2604664930*w^153*x^17+44614418805448*w^152*x^18-\ 5055727568756314*w^151*x^19+25604743063608920*w^150*x^20-16400441740*w^152*x^17 +122462248740884*w^151*x^18-9307736665805920*w^150*x^19+36213526245577756*w^149 *x^20+448*w^152*x^16-87372420436*w^151*x^17+312605195670006*w^150*x^18-\ 16334489229261028*w^149*x^19+49090302099169740*w^148*x^20+25880*w^151*x^16-\ 403228506130*w^150*x^17+745898283892748*w^149*x^18-27369792767445490*w^148*x^19 +63754962782265606*w^147*x^20+679634*w^150*x^16-1641405028798*w^149*x^17+ 1670900013687950*w^148*x^18-43844870698570020*w^147*x^19+79252380697987558*w^ 146*x^20+11011226*w^149*x^16-5977707284786*w^148*x^17+3527248142544044*w^147*x^ 18-67220166428354414*w^146*x^19+94136604725850734*w^145*x^20+125968412*w^148*x^ 16-19700461493287*w^147*x^17+7039369257691404*w^146*x^18-98704721786100594*w^ 145*x^19+106549789600234320*w^144*x^20+1099906269*w^147*x^16-59308200074319*w^ 146*x^17+13318112038675618*w^145*x^18-138873569214528286*w^144*x^19+ 114407883134957496*w^143*x^20+7712148690*w^146*x^16-164374773760446*w^145*x^17+ 23943460111518730*w^144*x^18-187228781422919209*w^143*x^19+115681260775277544*w ^142*x^20+45000836694*w^145*x^16-422163432588985*w^144*x^17+40985761899128322*w ^143*x^18-241787516970304955*w^142*x^19+108731767993491054*w^141*x^20-256*w^145 *x^15+224359024514*w^144*x^16-1010316038015648*w^143*x^17+66911590980472920*w^ 142*x^18-298808949525849119*w^141*x^19+92645441599462368*w^140*x^20-21912*w^144 *x^15+975262802993*w^143*x^16-2263670135517513*w^142*x^17+104321079455356254*w^ 141*x^18-352778328000161388*w^140*x^19+67490038366833596*w^139*x^20-691150*w^ 143*x^15+3755545032626*w^142*x^16-4767578268021781*w^141*x^17+ 155483697764605561*w^140*x^18-396740558778248424*w^139*x^19+34433385841304408*w ^138*x^20-12316927*w^142*x^15+12976883112272*w^141*x^16-9471263153692971*w^140* x^17+221682577771056562*w^139*x^18-423015352704373763*w^138*x^19-\ 4317148218583636*w^137*x^20-148344872*w^141*x^15+40661268977381*w^140*x^16-\ 17800076476532413*w^139*x^17+302439911043353809*w^138*x^18-424239759336225488*w ^137*x^19-45757040628388534*w^136*x^20-1330335275*w^140*x^15+116546101681305*w^ 139*x^16-31726810815737473*w^138*x^17+394764822224149121*w^137*x^18-\ 394591172801264584*w^136*x^19-86471778639148570*w^135*x^20-9433768673*w^139*x^ 15+307825051341435*w^138*x^16-53744659094619632*w^137*x^17+492619574277624505*w ^136*x^18-330970480823645965*w^135*x^19-123099020645351086*w^134*x^20-\ 55097794390*w^138*x^15+753861207033576*w^137*x^16-86676519001458299*w^136*x^17+ 586816273717159432*w^135*x^18-233895741841721764*w^134*x^19-152779428184403061* w^133*x^20+16*w^138*x^14-272918637514*w^137*x^15+1720873547492816*w^136*x^16-\ 133266866862935932*w^135*x^17+665515833511109724*w^134*x^18-107886857201452097* w^133*x^19-173513742837858138*w^132*x^20+4928*w^137*x^14-1172056634228*w^136*x^ 15+3678150983694012*w^135*x^16-195540553015766475*w^134*x^17+715398937337382154 *w^133*x^18+38789558934242573*w^132*x^19-184366444251796250*w^131*x^20+242538*w ^136*x^14-4439319664744*w^135*x^15+7389267869363673*w^134*x^16-\ 273977503702338047*w^133*x^17+723429550545221257*w^132*x^18+195016793988956009* w^131*x^19-185491249193313739*w^130*x^20+5461125*w^135*x^14-15033737269282*w^ 134*x^15+13998692550069683*w^133*x^16-366632550171812869*w^132*x^17+ 678968519273457282*w^131*x^18+348229869736161777*w^130*x^19-177991255095904002* w^129*x^20+76022713*w^134*x^14-46028194696956*w^133*x^15+25078125475527524*w^ 132*x^16-468403576119563665*w^131*x^17+575862851170091620*w^130*x^18+ 486075301835268215*w^129*x^19-163657328420026431*w^128*x^20+751199029*w^133*x^ 14-128579103699576*w^132*x^15+42583088604738467*w^131*x^16-570690673009963927*w ^130*x^17+414078648418440825*w^129*x^18+598026509172113324*w^128*x^19-\ 144645851939912154*w^127*x^20+5698176448*w^132*x^14-330241993710560*w^131*x^15+ 68666624145082376*w^130*x^16-661668449435796316*w^129*x^17+200489440402080625*w ^128*x^18+676667273898500518*w^127*x^19-123158940713677198*w^126*x^20+ 34887116109*w^131*x^14-784891579184353*w^130*x^15+105311765303337066*w^129*x^16 -727300824575661895*w^128*x^17-51423153633589267*w^127*x^18+718434312125544813* w^126*x^19-101178756529463726*w^125*x^20+178497734468*w^130*x^14-\ 1735691985974739*w^129*x^15+153782590569491198*w^128*x^16-753071944389925043*w^ 127*x^17-322982701690266326*w^126*x^18+723730077604155144*w^125*x^19-\ 80287638984977386*w^124*x^20-236*w^130*x^13+782875417566*w^129*x^14-\ 3587842449632733*w^128*x^15+213952477742059047*w^127*x^16-726221133482815566*w^ 126*x^17-592635522081745976*w^125*x^18+696446438383294286*w^124*x^19-\ 61583563090548344*w^123*x^20-30269*w^129*x^13+3001101434967*w^128*x^14-\ 6959851140427891*w^127*x^15+283635011807984067*w^126*x^16-638103560203705694*w^ 125*x^17-838768035355481253*w^124*x^18+643047328168568309*w^123*x^19-\ 45681318008308682*w^122*x^20-1023614*w^128*x^13+10210247671924*w^127*x^14-\ 12712092428584919*w^126*x^15+358096623922493745*w^125*x^16-486203573714385122*w ^124*x^17-1042515607830272342*w^123*x^18+571421511254222411*w^122*x^19-\ 32777196898589433*w^121*x^20-18165837*w^127*x^13+31211088418724*w^126*x^14-\ 21922734978817134*w^125*x^15+429946290588189098*w^124*x^16-275341790944918019*w ^123*x^17-1190066755954883151*w^122*x^18+489726946311733779*w^121*x^19-\ 22749944519516219*w^120*x^20-211775477*w^126*x^13+86593487633215*w^125*x^14-\ 35778930711610747*w^124*x^15+489558322720660319*w^123*x^16-17748522314480353*w^ 122*x^17-1274087903343818013*w^121*x^18+405411890483475799*w^120*x^19-\ 15272256388017853*w^119*x^20-1811357389*w^125*x^13+219891959134560*w^124*x^14-\ 55360758761410331*w^123*x^15+526086145528998992*w^122*x^16+268100578591300917*w ^121*x^17-1294089175136676529*w^120*x^18+324531173790071596*w^119*x^19-\ 9913060449574565*w^118*x^20-12134954222*w^124*x^13+514678770350413*w^123*x^14-\ 81319714084121654*w^122*x^15+528984677215018514*w^121*x^16+559729591272831559*w ^120*x^17-1255769180607876279*w^119*x^18+251399491427202259*w^118*x^19-\ 6218599727663992*w^117*x^20-66481002976*w^123*x^13+1116970329255073*w^122*x^14-\ 113490265389660877*w^121*x^15+489811227149621669*w^120*x^16+833598754192460945* w^119*x^17-1169563730578943828*w^118*x^18+188555680738975492*w^117*x^19-\ 3767806864054989*w^116*x^20-307075505513*w^122*x^13+2258926181002835*w^121*x^14 -150513451316607415*w^120*x^15+403963412048110714*w^119*x^16+ 1068198894046510493*w^118*x^17-1048740874944443547*w^117*x^18+ 136965149898146154*w^116*x^19-2203222748433524*w^115*x^20+1042*w^122*x^12-\ 1223414242716*w^121*x^13+4275173203448443*w^120*x^14-189581703432131851*w^119*x ^15+271975996891746865*w^118*x^16+1246749631901506347*w^117*x^17-\ 907415735350661359*w^116*x^18+96366472279884139*w^115*x^19-1242207620750765*w^ 114*x^20+73779*w^121*x^12-4279062997321*w^120*x^13+7598626522321099*w^119*x^14-\ 226419118174167406*w^118*x^15+100056451742200979*w^117*x^16+1359049942097872875 *w^116*x^17-758810017852317720*w^115*x^18+65670254266742833*w^114*x^19-\ 674550699390628*w^113*x^20+1915790*w^120*x^12-13325526484182*w^119*x^13+ 12720832650481047*w^118*x^14-255581221824938421*w^117*x^15-100316227618847724*w ^116*x^16+1402224172386435269*w^115*x^17-613977364303592694*w^114*x^18+ 43336802349112866*w^113*x^19-352338289589857*w^112*x^20+28792654*w^119*x^12-\ 37373325134120*w^118*x^13+20105327256246938*w^117*x^14-271093246810772565*w^116 *x^15-313707440849562051*w^115*x^16+1380339706931647761*w^114*x^17-\ 481089734262329022*w^113*x^18+27685341970695046*w^112*x^19-176760576561968*w^ 111*x^20+296951541*w^118*x^12-95301992542303*w^117*x^13+30052939049071278*w^116 *x^14-267359173094386889*w^115*x^15-522736467081782102*w^114*x^16+ 1303086237606108587*w^113*x^17-365263107329886117*w^112*x^18+17113944947418839* w^111*x^19-85026428565497*w^110*x^20+2297560082*w^117*x^12-222715390398067*w^ 116*x^13+42534595799948863*w^115*x^14-240188744152389049*w^114*x^15-\ 710409539613689446*w^113*x^16+1183854779654237276*w^112*x^17-268815260340148102 *w^111*x^18+10230658287478787*w^110*x^19-39140371297003*w^109*x^20+14092676658* w^116*x^12-480179093230260*w^115*x^13+57026012834805306*w^114*x^14-\ 187733228640251097*w^113*x^15-862345584821289793*w^112*x^16+1037613104883960682 *w^111*x^17-191804145023447254*w^110*x^18+5910164159276330*w^109*x^19-\ 17204494284712*w^108*x^20+71165770573*w^115*x^12-960506110585600*w^114*x^13+ 72393052733774925*w^113*x^14-111113976338972554*w^112*x^15-968502685216050471*w ^111*x^16+878944399318712751*w^110*x^17-132690721039011562*w^109*x^18+ 3296623153278728*w^108*x^19-7203045066544*w^107*x^20+304150871023*w^114*x^12-\ 1790965070643576*w^113*x^13+86879343091106462*w^112*x^14-14578131920984718*w^ 111*x^15-1024136866197318040*w^110*x^16+720519636185134595*w^109*x^17-\ 88995042773079258*w^108*x^18+1773714990018554*w^107*x^19-2864219813711*w^106*x^ 20-1562*w^114*x^11+1123609546501*w^113*x^12-3125091243346080*w^112*x^13+ 98234110375504949*w^111*x^14+94886821554209281*w^110*x^15-1029896493894040381*w ^109*x^16+572144703099750748*w^108*x^17-57855429255693970*w^107*x^18+ 919497515092036*w^106*x^19-1078184445683*w^105*x^20-73708*w^113*x^11+ 3648334459426*w^112*x^12-5119247197907355*w^111*x^13+103988369213374569*w^110*x ^14+208428662011959440*w^109*x^15-991130180583013872*w^108*x^16+ 440394834766861488*w^107*x^17-36444736908140874*w^106*x^18+458679182076135*w^ 105*x^19-382777038275*w^104*x^20-1633769*w^112*x^11+10553347740931*w^111*x^12-\ 7892040307749762*w^110*x^13+101847977400995286*w^109*x^14+316535850342894781*w^ 108*x^15-916622989976048052*w^107*x^16+328747729470774095*w^106*x^17-\ 22235550790865313*w^105*x^18+219849465539370*w^104*x^19-127609039445*w^103*x^20 -22515314*w^111*x^11+27499874818374*w^110*x^12-11470181524414673*w^109*x^13+ 90133856317711794*w^108*x^14+410342312738370737*w^107*x^15-817049180730487857*w ^106*x^16+238066895606651143*w^105*x^17-13132413551078642*w^104*x^18+ 101084730305993*w^103*x^19-39747401105*w^102*x^20-218303965*w^110*x^11+ 65153570255694*w^109*x^12-15731177431997835*w^108*x^13+68175469656618620*w^107* x^14+482787271255302017*w^106*x^15-703433402034214116*w^105*x^16+ 167269688092699190*w^104*x^17-7503035364335122*w^103*x^18+44502694367106*w^102* x^19-11498912205*w^101*x^20-1601590311*w^109*x^11+141443856971149*w^108*x^12-\ 20359077203209435*w^107*x^13+36562902313329522*w^106*x^14+529428851254172515*w^ 105*x^15-585857592705562129*w^104*x^16+114031911249187472*w^103*x^17-\ 4143690933188308*w^102*x^18+18720813164507*w^101*x^19-3068153053*w^100*x^20-\ 9334434977*w^108*x^11+283202163305785*w^107*x^12-24831608523281390*w^106*x^13-\ 2811822374604763*w^105*x^14+548795193502321114*w^104*x^15-472560795067086564*w^ 103*x^16+75419471870523371*w^102*x^17-2210069226910451*w^101*x^18+7507312538148 *w^100*x^19-748702476*w^99*x^20-44759714023*w^107*x^11+525818275799794*w^106*x^ 12-28453375383868664*w^105*x^13-46947871338477346*w^104*x^14+542259065334487945 *w^103*x^15-369480078047830463*w^102*x^16+48383501946081603*w^101*x^17-\ 1137229857176808*w^100*x^18+2862325734322*w^99*x^19-165383160*w^98*x^20-\ 181322238823*w^106*x^11+909376169578932*w^105*x^12-30440070165794664*w^104*x^13 -92133137485351269*w^103*x^14+513515155318206422*w^102*x^15-280195359691921249* w^101*x^16+30097528398838062*w^100*x^17-563912924937246*w^99*x^18+1034498290705 *w^98*x^19-32649792*w^97*x^20+564*w^106*x^10-633554309686*w^105*x^11+ 1470191326065768*w^104*x^12-30044892639020484*w^103*x^13-134469360628714656*w^ 102*x^14+467802878052958085*w^101*x^15-206183320890219072*w^100*x^16+ 18146907961844145*w^99*x^17-269111374148509*w^98*x^18+353214213154*w^97*x^19-\ 5667984*w^96*x^20+26827*w^105*x^10-1941413486573*w^104*x^11+2227920071566832*w^ 103*x^12-26704526342765076*w^102*x^13-170420892482595945*w^101*x^14+ 411041674820482070*w^100*x^15-147260305031845726*w^99*x^16+10599547003927604*w^ 98*x^17-123416815110897*w^97*x^18+113487856796*w^96*x^19-847030*w^95*x^20+ 606676*w^104*x^10-5288973559239*w^103*x^11+3170261826374291*w^102*x^12-\ 20172743629438111*w^101*x^13-197282200765853456*w^100*x^14+349031918706095868*w ^99*x^15-102097389158820086*w^98*x^16+5993978703185027*w^97*x^17-54303606618086 *w^96*x^18+34158890343*w^95*x^19-105849*w^94*x^20+8541230*w^103*x^10-\ 12955295081802*w^102*x^11+4239160780674229*w^101*x^12-10608633059821777*w^100*x ^13-213483017252257737*w^99*x^14+286832932094889121*w^98*x^15-68713899214994140 *w^97*x^16+3279226333137835*w^96*x^17-22882262259728*w^95*x^18+9581002566*w^94* x^19-10607*w^93*x^20+83999045*w^102*x^10-28802968067549*w^101*x^11+ 5323531808909967*w^100*x^12+1405264166816588*w^99*x^13-218690436939670272*w^98* x^14+228375026225833620*w^97*x^15-44888137510743303*w^96*x^16+1734178932545850* w^95*x^17-9214905692087*w^94*x^18+2488623076*w^93*x^19-798*w^92*x^20+618601679* w^101*x^10-58581302599106*w^100*x^11+6263158442540325*w^99*x^12+ 14923860541607702*w^98*x^13-213712434983309608*w^97*x^14+176309344581563668*w^ 96*x^15-28456839709008440*w^95*x^16+885668145909518*w^94*x^17-3538312629074*w^ 93*x^18+594136200*w^92*x^19-40*w^91*x^20+3580085890*w^100*x^10-109711223249968* w^99*x^11+6866241388326409*w^98*x^12+28769619223225651*w^97*x^13-\ 200245591527739243*w^96*x^14+132058334868098490*w^95*x^15-17501611227781480*w^ 94*x^16+436352750924262*w^93*x^17-1292028428483*w^92*x^18+129179056*w^91*x^19-w ^90*x^20+16876624651*w^99*x^10-190210201600245*w^98*x^11+6939481906614055*w^97* x^12+41705593721512306*w^96*x^13-180533205185000647*w^95*x^14+96006168885170809 *w^94*x^15-10438357793194050*w^93*x^16+207143298429238*w^92*x^17-447315711937*w ^91*x^18+25284903*w^90*x^19+66621536253*w^98*x^10-306579800289167*w^97*x^11+ 6325574436880830*w^96*x^12+52615791376001593*w^95*x^13-157005499281846525*w^94* x^14+67762408967809582*w^93*x^15-6034402138508562*w^92*x^16+94620061473026*w^91 *x^17-146325716532*w^90*x^18+4389635*w^89*x^19+225130549928*w^97*x^10-\ 460826551593591*w^96*x^11+4939899841289631*w^95*x^12+60657187412698681*w^94*x^ 13-131963352898137477*w^93*x^14+46439919490308973*w^92*x^15-3379306563114169*w^ 91*x^16+41525542930163*w^90*x^17-45044721029*w^89*x^18+662641*w^88*x^19-2099*w^ 97*x^9+662958940910*w^96*x^10-647235960100490*w^95*x^11+2797239678921305*w^94*x ^12+65356358544567514*w^93*x^13-107346435423696949*w^92*x^14+30903855038695883* w^91*x^15-1831945541345113*w^90*x^16+17479358525483*w^89*x^17-12987452476*w^88* x^18+84613*w^87*x^19-79032*w^96*x^9+1726361374176*w^95*x^10-849901663667002*w^ 94*x^11+21022632033047*w^93*x^12+66637967483424541*w^92*x^13-84602555326603385* w^91*x^14+19966939706371319*w^90*x^15-960604164084861*w^89*x^16+7043308111977*w ^88*x^17-3487356584*w^87*x^18+8776*w^86*x^19-1419681*w^95*x^9+4023820947233*w^ 94*x^10-1042132839703987*w^93*x^11-3168377494083679*w^92*x^12+64787901855763068 *w^91*x^13-64653448268966766*w^90*x^14+12522857759155752*w^89*x^15-\ 486777640386226*w^88*x^16+2710937079840*w^87*x^17-866085316*w^86*x^18+693*w^85* x^19-16096807*w^94*x^9+8479746437546*w^93*x^10-1188589058202075*w^92*x^11-\ 6484600810010068*w^91*x^12+60366667476048927*w^90*x^13-47937046083671351*w^89*x ^14+7621881260307908*w^88*x^15-238136676176907*w^87*x^16+994190228321*w^86*x^17 -197237605*w^85*x^18+37*w^84*x^19-129460752*w^93*x^9+16292236859336*w^92*x^10-\ 1250326819188508*w^91*x^11-9619052367086197*w^90*x^12+54095958296288429*w^89*x^ 13-34498915667962148*w^88*x^14+4500083950272058*w^87*x^15-112338679520845*w^86* x^16+346400241605*w^85*x^17-40742123*w^84*x^18+w^83*x^19-790090472*w^92*x^9+ 28732713941816*w^91*x^10-1192054091548099*w^90*x^11-12288018245337247*w^89*x^12 +46742390643614033*w^88*x^13-24105323737015666*w^87*x^14+2576149309147502*w^86* x^15-51035593770205*w^85*x^16+114285939572*w^84*x^17-7525355*w^83*x^18-\ 3829762252*w^91*x^9+46761766417825*w^90*x^10-990067020094885*w^89*x^11-\ 14273351141949366*w^88*x^12+39018175588925344*w^87*x^13-16355210429226229*w^86* x^14+1429105789171498*w^85*x^15-22295536994441*w^84*x^16+35563370204*w^83*x^17-\ 1219187*w^82*x^18-15248803470*w^90*x^9+70506248457155*w^89*x^10-638893223262624 *w^88*x^11-15449080234464142*w^87*x^12+31511106394012866*w^86*x^13-\ 10775725845595192*w^85*x^14+767730488214093*w^84*x^15-9350582323453*w^83*x^16+ 10388839858*w^82*x^17-168614*w^81*x^18-51192069983*w^89*x^9+98726282347848*w^88 *x^10-154791135728878*w^87*x^11-15790141069584909*w^86*x^12+24648053123923118*w ^85*x^13-6893647630150827*w^84*x^14+399086573731552*w^83*x^15-3757597679459*w^ 82*x^16+2832770576*w^81*x^17-19120*w^80*x^18-147957573550*w^88*x^9+ 128461838865349*w^87*x^10+425036839704215*w^86*x^11-15363723531551420*w^85*x^12 +18689176712560803*w^84*x^13-4281389817788992*w^83*x^14+200564215865086*w^82*x^ 15-1443736699220*w^81*x^16+715958516*w^80*x^17-1666*w^79*x^18+2753*w^88*x^8-\ 374472417241*w^87*x^9+155051668758033*w^86*x^10+1047569004100769*w^85*x^11-\ 14307310279844657*w^84*x^12+13745485218460684*w^83*x^13-2580669278093092*w^82*x ^14+97348286202019*w^81*x^15-529031445224*w^80*x^16+166253909*w^79*x^17-99*w^78 *x^18+91181*w^87*x^8-841608321558*w^86*x^9+172644527434165*w^85*x^10+ 1652347064331562*w^84*x^11-12799532153655540*w^83*x^12+9810459165120312*w^82*x^ 13-1509138372908931*w^81*x^14+45581889835852*w^80*x^15-184340527143*w^79*x^16+ 35072554*w^78*x^17-3*w^77*x^18+1425528*w^86*x^8-1698948352365*w^85*x^9+ 175185146751488*w^84*x^10+2181220314204636*w^83*x^11-11030269316254891*w^82*x^ 12+6796874522522524*w^81*x^13-855796531226005*w^80*x^14+20562596605596*w^79*x^ 15-60871085229*w^78*x^16+6623099*w^77*x^17+14010963*w^85*x^8-3109324359452*w^84 *x^9+157696124979060*w^83*x^10+2587291913296760*w^82*x^11-9175260152571776*w^81 *x^12+4571864114285907*w^80*x^13-470337636601122*w^79*x^14+8923572110963*w^78*x ^15-18970162846*w^77*x^16+1097528*w^76*x^17+97573512*w^84*x^8-5197008434859*w^ 83*x^9+117549239078024*w^82*x^10+2841242548167911*w^81*x^11-7378447033524546*w^ 80*x^12+2985814167900115*w^79*x^13-250354350724734*w^78*x^14+3719078933465*w^77 *x^15-5552016843*w^76*x^16+155226*w^75*x^17+515574845*w^83*x^8-7976392561886*w^ 82*x^9+55377617622830*w^81*x^10+2933987657978154*w^80*x^11-5743068066728706*w^ 79*x^12+1893174119387884*w^78*x^13-128963748040632*w^77*x^14+1485654444543*w^76 *x^15-1516761363*w^75*x^16+17987*w^74*x^17+2164290074*w^82*x^8-11280470661253*w ^81*x^9-24651704373105*w^80*x^10+2875578570640346*w^79*x^11-4330648409680894*w^ 78*x^12+1165209004026043*w^77*x^13-64232719980809*w^76*x^14+567546618819*w^75*x ^15-383880236*w^74*x^16+1600*w^73*x^17+7466737227*w^81*x^8-14716691553600*w^80* x^9-115322325755409*w^79*x^10+2691098090447689*w^78*x^11-3165866185370271*w^77* x^12+695961915030036*w^76*x^13-30901003650961*w^75*x^14+206793648305*w^74*x^15-\ 89154297*w^73*x^16+97*w^72*x^17+21737534891*w^80*x^8-17676750346839*w^79*x^9-\ 207521046281104*w^78*x^10+2414820955429871*w^77*x^11-2244827764459835*w^76*x^12 +403250186956787*w^75*x^13-14341763781599*w^74*x^14+71642387045*w^73*x^15-\ 18767537*w^72*x^16+3*w^71*x^17+54545218941*w^79*x^8-19414753419384*w^78*x^9-\ 291787749471922*w^77*x^10+2084033457504785*w^76*x^11-1544455485110186*w^75*x^12 +226551004649588*w^74*x^13-6412935872264*w^73*x^14+23511838037*w^72*x^15-\ 3523027*w^71*x^16-1569*w^79*x^7+120015563449*w^78*x^8-19187476241306*w^77*x^9-\ 359894074814631*w^76*x^10+1733685295765886*w^75*x^11-1031239721108092*w^74*x^12 +123341407529784*w^73*x^13-2758402294223*w^72*x^14+7276841139*w^71*x^15-576794* w^70*x^16-48656*w^78*x^7+234797298378*w^77*x^8-16427717972747*w^76*x^9-\ 406095521309965*w^75*x^10+1392613849773179*w^74*x^11-668298137432008*w^73*x^12+ 65028582741253*w^72*x^13-1139255206749*w^71*x^14+2112357834*w^70*x^15-79804*w^ 69*x^16-700006*w^77*x^7+412967370429*w^76*x^8-10905541754714*w^75*x^9-\ 427812974730766*w^74*x^10+1081593390984375*w^73*x^11-420329777017595*w^72*x^12+ 33174253629692*w^71*x^13-450853728965*w^70*x^14+571250569*w^69*x^15-8900*w^68*x ^16-6250465*w^76*x^7+658471174409*w^75*x^8-2829587514955*w^74*x^9-\ 425664877532769*w^73*x^10+813048995348642*w^72*x^11-256538823807825*w^71*x^12+ 16360297485037*w^70*x^13-170542849877*w^69*x^14+142702908*w^68*x^15-741*w^67*x^ 16-39139766*w^75*x^7+957233816579*w^74*x^8+7145826453735*w^73*x^9-\ 402934384235531*w^72*x^10+592011384799185*w^71*x^11-151895504558512*w^70*x^12+ 7791149090264*w^69*x^13-61482643255*w^68*x^14+32573346*w^67*x^15-40*w^66*x^16-\ 184369311*w^74*x^7+1272069902072*w^73*x^8+18016081804073*w^72*x^9-\ 364670560477379*w^71*x^10+417789906741635*w^70*x^11-87217521665308*w^69*x^12+ 3578368350097*w^68*x^13-21051709079*w^67*x^14+6697635*w^66*x^15-w^65*x^16-\ 685154687*w^73*x^7+1543386208662*w^72*x^8+28602644893044*w^71*x^9-\ 316666216511181*w^70*x^10+285877009987055*w^69*x^11-48542155470868*w^68*x^12+ 1582733775250*w^67*x^13-6817478746*w^66*x^14+1216868*w^65*x^15-2081526815*w^72* x^7+1697286411714*w^71*x^8+37765948923146*w^70*x^9-264530550225057*w^69*x^10+ 189717026666348*w^68*x^11-26171564262713*w^67*x^12+673027414392*w^66*x^13-\ 2077543731*w^65*x^14+190141*w^64*x^15-5316987145*w^71*x^7+1660382795732*w^70*x^ 8+44601745916061*w^69*x^9-213004548297378*w^68*x^10+122121180397953*w^67*x^11-\ 13659046240270*w^66*x^12+274598223710*w^65*x^13-592018362*w^64*x^14+24547*w^63* x^15-11680204251*w^70*x^7+1378098543905*w^69*x^8+48575972799785*w^68*x^9-\ 165580493053740*w^67*x^10+76247995087647*w^66*x^11-6894724218128*w^65*x^12+ 107247770643*w^64*x^13-156514491*w^63*x^14+2455*w^62*x^15+410*w^70*x^6-\ 22469334932*w^69*x^7+831428271576*w^68*x^8+49573703482047*w^67*x^9-\ 124409896283164*w^66*x^10+46169952332538*w^65*x^11-3362630386860*w^64*x^12+ 39985372728*w^63*x^13-38004684*w^62*x^14+169*w^61*x^15+12600*w^69*x^6-\ 38387903046*w^68*x^7+46859241842*w^67*x^8+47862659972244*w^66*x^9-\ 90432658217640*w^65*x^10+27106375686106*w^64*x^11-1582675154184*w^63*x^12+ 14183936330*w^62*x^13-8365195*w^61*x^14+6*w^60*x^15+175375*w^68*x^6-58843500402 *w^67*x^7-904212950402*w^66*x^8+43992633090401*w^65*x^9-63638682078841*w^64*x^ 10+15424047859443*w^63*x^11-717880341737*w^62*x^12+4767997215*w^61*x^13-1639832 *w^60*x^14+1484051*w^67*x^6-81428277704*w^66*x^7-1917147624503*w^65*x^8+ 38663465468265*w^64*x^9-43376985208382*w^63*x^10+8501955787969*w^62*x^11-\ 313295009722*w^61*x^12+1511452539*w^60*x^13-279299*w^59*x^14+8644748*w^66*x^6-\ 101854378776*w^65*x^7-2873928499920*w^64*x^8+32594684303263*w^63*x^9-\ 28647200560068*w^62*x^10+4536839470453*w^61*x^11-131299996766*w^60*x^12+ 449101649*w^59*x^13-39843*w^58*x^14+37252516*w^65*x^6-114502610794*w^64*x^7-\ 3665873632993*w^63*x^8+26421851010479*w^62*x^9-18334284547127*w^61*x^10+ 2341853841690*w^60*x^11-52723234674*w^59*x^12+124133071*w^58*x^13-4485*w^57*x^ 14+124847019*w^64*x^6-113558607798*w^63*x^7-4213192059334*w^62*x^8+ 20632564376869*w^61*x^9-11371430307473*w^60*x^10+1168224174093*w^59*x^11-\ 20229876770*w^58*x^12+31608714*w^57*x^13-356*w^56*x^14+338213113*w^63*x^6-\ 94503656250*w^62*x^7-4476752363019*w^61*x^8+15543155069178*w^60*x^9-\ 6834145935871*w^59*x^10+562551382758*w^58*x^11-7393156228*w^57*x^12+7321369*w^ 56*x^13-15*w^55*x^14+764085303*w^62*x^6-55553360895*w^61*x^7-4460105727240*w^60 *x^8+11308437742041*w^59*x^9-3978862987529*w^58*x^10+261147854539*w^57*x^11-\ 2563324756*w^56*x^12+1516446*w^55*x^13+1476233592*w^61*x^6+1428349597*w^60*x^7-\ 4202709393088*w^59*x^8+7952614924395*w^58*x^9-2243183355082*w^57*x^10+ 116683773992*w^56*x^11-839110676*w^55*x^12+274225*w^54*x^13-48*w^61*x^5+ 2487120220*w^60*x^6+70904651015*w^59*x^7-3767422417720*w^58*x^8+5409162467340*w ^57*x^9-1223946470910*w^56*x^10+50086092385*w^55*x^11-257794467*w^54*x^12+41776 *w^53*x^13-1514*w^60*x^5+3704762280*w^59*x^6+144621080930*w^58*x^7-\ 3226164909466*w^57*x^8+3559963779836*w^56*x^9-645867838950*w^55*x^10+ 20607856499*w^54*x^11-73770488*w^53*x^12+5057*w^52*x^13-21567*w^59*x^5+ 4915862043*w^58*x^6+213295324864*w^57*x^7-2647190024228*w^56*x^8+2267570336265* w^55*x^9-329324856670*w^54*x^10+8105691965*w^53*x^11-19472680*w^52*x^12+435*w^ 51*x^13-182912*w^58*x^5+5806713332*w^57*x^6+268547298593*w^56*x^7-2086169715293 *w^55*x^8+1397994841174*w^54*x^9-162082472663*w^53*x^10+3037935430*w^52*x^11-\ 4681113*w^51*x^12+20*w^50*x^13-1038601*w^57*x^5+6022112118*w^56*x^6+ 304516344261*w^55*x^7-1581825108776*w^54*x^8+834137834694*w^53*x^9-76897428058* w^52*x^10+1080632552*w^51*x^11-1007186*w^50*x^12-4240055*w^56*x^5+5252773013*w^ 55*x^6+318754388513*w^54*x^7-1155615608300*w^53*x^8+481551983629*w^52*x^9-\ 35113243272*w^51*x^10+363050494*w^50*x^11-189232*w^49*x^12-13124129*w^55*x^5+ 3331474597*w^54*x^6+312250411028*w^53*x^7-814282101573*w^52*x^8+268864245231*w^ 51*x^9-15402664892*w^50*x^10+114496693*w^49*x^11-29909*w^48*x^12-32172661*w^54* x^5+308368803*w^53*x^6+288715834439*w^52*x^7-553840953932*w^51*x^8+145090980055 *w^50*x^9-6475937814*w^49*x^10+33634412*w^48*x^11-3738*w^47*x^12-64784951*w^53* x^5-3525900627*w^52*x^6+253443683783*w^51*x^7-363816815685*w^50*x^8+75615896916 *w^49*x^9-2602565604*w^48*x^10+9110930*w^47*x^11-328*w^46*x^12-110357600*w^52*x ^5-7686670513*w^51*x^6+212101652347*w^50*x^7-230894110104*w^49*x^8+38019307740* w^48*x^9-996424947*w^47*x^10+2245398*w^46*x^11-15*w^45*x^12+2*w^52*x^4-\ 162482333*w^51*x^5-11601772933*w^50*x^6+169747624413*w^49*x^7-141589585080*w^48 *x^8+18418688938*w^47*x^9-361953097*w^46*x^10+494203*w^45*x^11+66*w^51*x^4-\ 209248593*w^50*x^5-14743368320*w^49*x^6+130221929247*w^48*x^7-83889395035*w^47* x^8+8584114225*w^46*x^9-124112049*w^45*x^10+94551*w^44*x^11+1079*w^50*x^4-\ 235317071*w^49*x^5-16741873142*w^48*x^6+95933866239*w^47*x^7-48008801405*w^46*x ^8+3841341448*w^45*x^9-39915563*w^44*x^10+15078*w^43*x^11+10376*w^49*x^4-\ 225103290*w^48*x^5-17449195372*w^47*x^6+67962488529*w^46*x^7-26525369718*w^45*x ^8+1646669311*w^44*x^9-11941478*w^43*x^10+1865*w^42*x^11+63264*w^48*x^4-\ 166862717*w^47*x^5-16939731179*w^46*x^6+46347560824*w^45*x^7-14138999953*w^44*x ^8+674255338*w^43*x^9-3287392*w^42*x^10+155*w^41*x^11+261725*w^47*x^4-57141658* w^46*x^5-15459216243*w^45*x^6+30448440007*w^44*x^7-7263957957*w^43*x^8+ 262790063*w^42*x^9-820582*w^41*x^10+6*w^40*x^11+781275*w^46*x^4+96038422*w^45*x ^5-13345252448*w^44*x^6+19279075336*w^43*x^7-3592381868*w^42*x^8+97065170*w^41* x^9-181872*w^40*x^10+1776008*w^45*x^4+273240508*w^44*x^5-10946335569*w^43*x^6+ 11767438847*w^42*x^7-1707495087*w^41*x^8+33791381*w^40*x^9-34676*w^39*x^10+ 3219152*w^44*x^4+447778854*w^43*x^5-8559703121*w^42*x^6+6923642964*w^41*x^7-\ 778476811*w^40*x^8+11010355*w^39*x^9-5402*w^38*x^10+4829506*w^43*x^4+592719274* w^42*x^5-6397208119*w^41*x^6+3925679206*w^40*x^7-339604458*w^39*x^8+3327358*w^ 38*x^9-626*w^37*x^10+6154514*w^42*x^4+687856672*w^41*x^5-4578199097*w^40*x^6+ 2143750444*w^39*x^7-141323436*w^38*x^8+921299*w^37*x^9-44*w^36*x^10+6703074*w^ 41*x^4+724042566*w^40*x^5-3141901917*w^39*x^6+1126509352*w^38*x^7-55886694*w^37 *x^8+229779*w^36*x^9-w^35*x^10-9*w^41*x^3+6016878*w^40*x^4+703762853*w^39*x^5-\ 2069807059*w^38*x^6+568948054*w^37*x^7-20900991*w^36*x^8+50338*w^35*x^9-186*w^ 40*x^3+3739439*w^39*x^4+638569974*w^38*x^5-1309773491*w^37*x^6+275735915*w^36*x ^7-7347266*w^35*x^8+9306*w^34*x^9-1609*w^39*x^3-220231*w^38*x^4+544843652*w^37* x^5-796407318*w^36*x^6+127967091*w^35*x^7-2408419*w^34*x^8+1354*w^33*x^9-7895*w ^38*x^3-5503974*w^37*x^4+439411596*w^36*x^5-465313261*w^35*x^6+56720594*w^34*x^ 7-728438*w^33*x^8+134*w^32*x^9-25065*w^37*x^3-11295806*w^36*x^4+336260957*w^35* x^5-261140886*w^34*x^6+23931025*w^33*x^7-200344*w^32*x^8+6*w^31*x^9-55591*w^36* x^3-16552801*w^35*x^4+244869303*w^34*x^5-140673533*w^33*x^6+9569707*w^32*x^7-\ 49063*w^31*x^8-91683*w^35*x^3-20345415*w^34*x^4+170043614*w^33*x^5-72655267*w^ 32*x^6+3607151*w^31*x^7-10353*w^30*x^8-119513*w^34*x^3-22137308*w^33*x^4+ 112774590*w^32*x^5-35920554*w^31*x^6+1272444*w^30*x^7-1780*w^29*x^8-128825*w^33 *x^3-21885628*w^32*x^4+71501825*w^31*x^5-16962551*w^30*x^6+416077*w^29*x^7-223* w^28*x^8-113568*w^32*x^3-19958952*w^31*x^4+43360967*w^30*x^5-7628740*w^29*x^6+ 124481*w^28*x^7-15*w^27*x^8-66566*w^31*x^3-16953352*w^30*x^4+25152341*w^29*x^5-\ 3255190*w^28*x^6+33433*w^27*x^7+20334*w^30*x^3-13500434*w^29*x^4+13949320*w^28* x^5-1311260*w^27*x^6+7831*w^26*x^7+6*w^30*x^2+143927*w^29*x^3-10126730*w^28*x^4 +7389243*w^27*x^5-495375*w^26*x^6+1524*w^25*x^7+78*w^29*x^2+280784*w^28*x^3-\ 7180434*w^27*x^4+3732758*w^26*x^5-173957*w^25*x^6+225*w^24*x^7+377*w^28*x^2+ 398353*w^27*x^3-4825133*w^26*x^4+1793958*w^25*x^5-56099*w^24*x^6+20*w^23*x^7+ 924*w^27*x^2+470942*w^26*x^3-3077782*w^25*x^4+817599*w^24*x^5-16319*w^23*x^6+ 1391*w^26*x^2+488477*w^25*x^3-1864998*w^24*x^4+351809*w^23*x^5-4163*w^22*x^6+ 1533*w^25*x^2+456658*w^24*x^3-1073630*w^23*x^4+142046*w^22*x^5-889*w^21*x^6+ 1349*w^24*x^2+390683*w^23*x^3-586699*w^22*x^4+53383*w^21*x^5-146*w^20*x^6+903*w ^23*x^2+309146*w^22*x^3-303959*w^21*x^4+18446*w^20*x^5-15*w^19*x^6+78*w^22*x^2+ 227916*w^21*x^3-148862*w^20*x^4+5758*w^19*x^5-1559*w^21*x^2+157109*w^20*x^3-\ 68676*w^19*x^4+1580*w^18*x^5-3872*w^20*x^2+101567*w^19*x^3-29679*w^18*x^4+362*w ^17*x^5-6018*w^19*x^2+61689*w^18*x^3-11921*w^17*x^4+64*w^16*x^5-w^19*x-7198*w^ 18*x^2+35209*w^17*x^3-4404*w^16*x^4+6*w^15*x^5-5*w^18*x-7182*w^17*x^2+18859*w^ 16*x^3-1467*w^15*x^4-10*w^17*x-6355*w^16*x^2+9459*w^15*x^3-428*w^14*x^4-10*w^16 *x-5066*w^15*x^2+4408*w^14*x^3-103*w^13*x^4-5*w^15*x-3683*w^14*x^2+1903*w^13*x^ 3-19*w^12*x^4-w^14*x-2463*w^13*x^2+747*w^12*x^3-w^11*x^4+w^13*x-1511*w^12*x^2+ 267*w^11*x^3+11*w^12*x-857*w^11*x^2+81*w^10*x^3+41*w^11*x-439*w^10*x^2+21*w^9*x ^3+69*w^10*x-208*w^9*x^2+3*w^8*x^3+71*w^9*x-89*w^8*x^2+57*w^8*x-34*w^7*x^2+38*w ^7*x-10*w^6*x^2+27*w^6*x-3*w^5*x^2+14*w^5*x+7*w^4*x+3*w^3*x+w^2*x-1)/(896*w^169 *x^20+28288*w^168*x^20+450432*w^167*x^20+4842752*w^166*x^20+39591680*w^165*x^20 +262444928*w^164*x^20-2144*w^164*x^19+1468081344*w^163*x^20-73088*w^163*x^19+ 7121140992*w^162*x^20-1248264*w^162*x^19+30547799712*w^161*x^20-14270560*w^161* x^19+117626074528*w^160*x^20-123003168*w^160*x^19+411317261024*w^159*x^20-\ 853076260*w^159*x^19+1318442845760*w^158*x^20-4959557128*w^158*x^19+ 3903799140120*w^157*x^20+4448*w^158*x^18-24859194740*w^157*x^19+10745659516152* w^156*x^20+169764*w^157*x^18-109649152884*w^156*x^19+27646900839088*w^155*x^20+ 3145824*w^156*x^18-432264534612*w^155*x^19+66793686363496*w^154*x^20+38192928*w ^155*x^18-1541775557000*w^154*x^19+152136261177320*w^153*x^20+344162698*w^154*x ^18-5024453466476*w^153*x^19+327827591441472*w^152*x^20+2465581936*w^153*x^18-\ 15082045031796*w^152*x^19+670336486514304*w^151*x^20+14666215308*w^152*x^18-\ 41982158461348*w^151*x^19+1304173852617320*w^150*x^20-2688*w^152*x^17+ 74635976516*w^151*x^18-108988783131674*w^150*x^19+2419908015900440*w^149*x^20-\ 120952*w^151*x^17+332115619676*w^150*x^18-265175429513742*w^149*x^19+ 4291329100653292*w^148*x^20-2555550*w^150*x^17+1313893911654*w^149*x^18-\ 607228588630062*w^148*x^19+7286545916040640*w^147*x^20-34506574*w^149*x^17+ 4682070959370*w^148*x^18-1313513576164850*w^147*x^19+11866064336664620*w^146*x^ 20-339114350*w^148*x^17+15187918692444*w^147*x^18-2692645984691180*w^146*x^19+ 18560350530980944*w^145*x^20-2607999538*w^147*x^17+45237859220250*w^146*x^18-\ 5245892843925286*w^145*x^19+27920900843852248*w^144*x^20-16440128240*w^146*x^17 +124620294905516*w^145*x^18-9737493473508412*w^144*x^19+40442982097045896*w^143 *x^20+448*w^146*x^16-87721338358*w^145*x^17+319456868836528*w^144*x^18-\ 17259713818546424*w^143*x^19+56464837021271058*w^142*x^20+25880*w^145*x^16-\ 405660812316*w^144*x^17+766018009734700*w^143*x^18-29271479938276440*w^142*x^19 +76056184163984542*w^141*x^20+679634*w^144*x^16-1655466198792*w^143*x^17+ 1725924396748498*w^142*x^18-47583308731022492*w^141*x^19+98916272748250770*w^ 140*x^20+11012314*w^143*x^16-6047239357904*w^142*x^17+3668221501285158*w^141*x^ 18-74260294608341992*w^140*x^19+124306063789712598*w^139*x^20+126025812*w^142*x ^16-20001311126773*w^141*x^17+7379402214694984*w^140*x^18-111422282882078240*w^ 139*x^19+151038027074964956*w^138*x^20+1101250543*w^141*x^16-60467047552971*w^ 140*x^17+14093536847899712*w^139*x^18-160937696916325450*w^138*x^19+ 177539429821273894*w^137*x^20+7731494246*w^140*x^16-168403224346366*w^139*x^17+ 25621324575580362*w^138*x^18-224033554924586915*w^137*x^19+201991533758971862*w ^136*x^20+45198136300*w^139*x^16-434941666544689*w^138*x^17+44441248523960067*w ^137*x^18-300874217283618347*w^136*x^19+222530495386745444*w^135*x^20-256*w^139 *x^15+225905355692*w^138*x^16-1047638167704855*w^137*x^17+73702700718343830*w^ 136*x^18-390187455797416135*w^135*x^19+237480121671333292*w^134*x^20-21912*w^ 138*x^15+985074432999*w^137*x^16-2364809110245580*w^136*x^17+117086414095909902 *w^135*x^18-489029385825343078*w^134*x^19+245576414852578833*w^133*x^20-691150* w^137*x^15+3807803089740*w^136*x^16-5023501474433694*w^135*x^17+ 178478322193880682*w^134*x^18-592772116527199960*w^133*x^19+246142366226974614* w^132*x^20-12318335*w^136*x^15+13216785392500*w^135*x^16-10079270856462484*w^ 134*x^17+261442897133222061*w^133*x^18-695366762311529143*w^132*x^19+ 239179746856804274*w^131*x^20-148429018*w^135*x^15+41629836395173*w^134*x^16-\ 19162604610960329*w^133*x^17+368529460238391575*w^132*x^18-789883511190455777*w ^131*x^19+225360935180199639*w^130*x^20-1332431639*w^134*x^15+120039893083621*w ^133*x^16-34618569451871523*w^132*x^17+500501285786142980*w^131*x^18-\ 869270289283574816*w^130*x^19+205924038042643484*w^129*x^20-9464906855*w^133*x^ 15+319228694356397*w^132*x^16-59577222547501274*w^131*x^17+655627736447281879*w ^130*x^18-927217135906976564*w^129*x^19+182493541403612541*w^128*x^20-\ 55419746417*w^132*x^15+787892668568967*w^131*x^16-97889746303843342*w^130*x^17+ 829206811949946441*w^129*x^18-958979872073041568*w^128*x^19+156861810042328526* w^127*x^20+16*w^132*x^14-275446033001*w^131*x^15+1814534937721704*w^130*x^16-\ 153867912012471471*w^129*x^17+1013474982230720437*w^128*x^18-962014627702341773 *w^127*x^19+130771145392020114*w^126*x^20+4928*w^131*x^14-1187977869825*w^130*x ^15+3917617620235101*w^129*x^16-231789433253315749*w^128*x^17+ 1198007367116864888*w^127*x^18-936306712062111193*w^126*x^19+105731555631260946 *w^125*x^20+242538*w^130*x^14-4522935429673*w^129*x^15+7961567576105359*w^128*x ^16-335180536002907085*w^127*x^17+1370620982246649073*w^126*x^18-\ 884336227131669691*w^125*x^19+82898009857187636*w^124*x^20+5461605*w^129*x^14-\ 15410179233030*w^128*x^15+15283983787401400*w^127*x^16-465952582425702059*w^126 *x^17+1518685915645927244*w^125*x^18-810694282450548316*w^124*x^19+ 63016338625160618*w^123*x^20+76064995*w^128*x^14-47512029625334*w^127*x^15+ 27803118959857604*w^126*x^16-623535942154172501*w^125*x^17+1630650729710835655* w^124*x^18-721429992343912027*w^123*x^19+46432973141521442*w^122*x^20+752485970 *w^127*x^14-133785560736198*w^126*x^15+48058694590243071*w^125*x^16-\ 804200225659736771*w^124*x^17+1697526035429637080*w^123*x^18-623253947343666711 *w^122*x^19+33153414960687991*w^121*x^20+5719737213*w^126*x^14-346721512384396* w^125*x^15+79130380266887314*w^124*x^16-1000755442718920095*w^123*x^17+ 1714062794848033942*w^122*x^18-522739269756687510*w^121*x^19+22929230511690613* w^120*x^20+35128178993*w^125*x^14-832460800544380*w^124*x^15+124384692921520400 *w^123*x^16-1202782519972431746*w^122*x^17+1679413862655515240*w^121*x^18-\ 425645935248073049*w^120*x^19+15353411410213481*w^119*x^20+180492019219*w^124*x ^14-1862057733277211*w^123*x^15+187028044712514558*w^122*x^16-\ 1397447446586422614*w^121*x^17+1597166874294598352*w^120*x^18-\ 336454907206431284*w^119*x^19+9947859962892799*w^118*x^20-236*w^124*x^13+ 795883950713*w^123*x^14-3899143644011309*w^122*x^15+269490484984504686*w^121*x^ 16-1570830415642852789*w^120*x^17+1474759348529620246*w^119*x^18-\ 258147907570776756*w^118*x^19+6232691608469320*w^117*x^20-30269*w^123*x^13+ 3070928335492*w^122*x^14-7675689888430786*w^121*x^15+372722378756663430*w^120*x ^16-1709580250217036558*w^119*x^17+1322402795410286117*w^118*x^18-\ 192219456409956078*w^117*x^19+3773176455033127*w^116*x^20-1023638*w^122*x^13+ 10528288478173*w^121*x^14-14257229670074563*w^120*x^15+495538528343003172*w^119 *x^16-1802618057375127281*w^118*x^17+1151724875186102824*w^117*x^18-\ 138870627614333811*w^116*x^19+2205139979747734*w^115*x^20-18173139*w^121*x^13+ 32468894413819*w^120*x^14-25068582128442176*w^119*x^15+634171884872424739*w^118 *x^16-1842587407468284177*w^117*x^17+974370839034040102*w^116*x^18-\ 97314371736361588*w^115*x^19+1242845949125849*w^114*x^20-212111466*w^120*x^13+ 90991040875223*w^119*x^14-41845533308294929*w^118*x^15+782186798033468357*w^117 *x^16-1826790391353406574*w^116*x^17+800785238331509686*w^115*x^18-\ 66120505051153044*w^114*x^19+674747734206498*w^113*x^20-1818398169*w^119*x^13+ 233680643531676*w^118*x^14-66482320242017678*w^117*x^15+930845125597502723*w^ 116*x^16-1757449787232147288*w^115*x^17+639333053677808104*w^114*x^18-\ 43540616366442123*w^113*x^19+352394288984423*w^112*x^20-12225875757*w^118*x^13+ 553913265479819*w^117*x^14-100762574602080850*w^116*x^15+1069927013372772497*w^ 115*x^16-1641271645556296487*w^114*x^17+495835461637237020*w^113*x^18-\ 27773071012339210*w^112*x^19+176775109792922*w^111*x^20-67313019595*w^117*x^13+ 1219279885771854*w^116*x^14-145991730210131496*w^115*x^15+1188903917753227526*w ^114*x^16-1488416422972279043*w^113*x^17+373511205559591529*w^112*x^18-\ 17149762517532398*w^111*x^19+85029837905071*w^110*x^20-312915818194*w^116*x^13+ 2505460856426546*w^115*x^14-202585259424672313*w^114*x^15+1278272832891726780*w ^113*x^16-1311088956832297872*w^112*x^17+273248030672254679*w^111*x^18-\ 10244489337972587*w^110*x^19+39141085156971*w^109*x^20+1042*w^116*x^12-\ 1256498461908*w^115*x^13+4828065275354926*w^114*x^14-269698272625544305*w^113*x ^15+1330813177694490021*w^112*x^16-1122007224728686444*w^111*x^17+ 194090322842383578*w^110*x^18-5915199221327250*w^109*x^19+17204625560566*w^108* x^20+73779*w^115*x^12-4435739804211*w^114*x^13+8759708399529497*w^113*x^14-\ 344995544527187685*w^112*x^15+1342535622380462568*w^111*x^16-933001314349140407 *w^110*x^17+133820708169478928*w^109*x^18-3298344683492349*w^108*x^19+ 7203065824492*w^107*x^20+1916057*w^114*x^12-13962143219192*w^113*x^13+ 15016178457356731*w^112*x^14-424648063057317987*w^111*x^15+1313153714187272456* w^110*x^16-753936582326085235*w^109*x^17+89529494487350278*w^108*x^18-\ 1774265406715504*w^107*x^19+2864222555509*w^106*x^20+28824853*w^113*x^12-\ 39637634715192*w^112*x^13+24396676278979880*w^111*x^14-503601697359724844*w^110 *x^15+1246007908688822414*w^109*x^16-592068306624658043*w^108*x^17+ 58096905802812189*w^107*x^18-919661240211982*w^106*x^19+1078184735789*w^105*x^ 20+297969953*w^112*x^12-102465115963712*w^111*x^13+37670777017785591*w^110*x^14 -576103959352658354*w^109*x^15+1147481530549149108*w^108*x^16-\ 451842693475529848*w^107*x^17+36548761872082073*w^106*x^18-458724216891303*w^ 105*x^19+382777061297*w^104*x^20+2314373006*w^111*x^12-243134564262055*w^110*x^ 13+55418817407083106*w^109*x^14-636411928081463830*w^108*x^15+ 1026042045773260589*w^107*x^16-335081497815313876*w^106*x^17+22278184156601325* w^105*x^18-219860836807478*w^104*x^19+127609040661*w^103*x^20+14274823834*w^110 *x^12-533202212971157*w^109*x^13+77849787153830030*w^108*x^14-\ 679556417612165815*w^107*x^15+891098180321246059*w^106*x^16-241437906131166405* w^105*x^17+13148995386545806*w^104*x^18-101087342375335*w^103*x^19+39747401137* w^102*x^20+72613534686*w^109*x^12-1087092379018179*w^108*x^13+ 104635942488527238*w^107*x^14-702018765849770441*w^106*x^15+751874792087486169* w^105*x^16-168993711498763642*w^104*x^17+7509138450963204*w^103*x^18-\ 44503234069734*w^102*x^19+11498912205*w^101*x^20+313164717231*w^108*x^12-\ 2071015332064288*w^107*x^13+134810006234676202*w^106*x^14-702192868128765044*w^ 105*x^15+616476454185158216*w^104*x^16-114878117505151652*w^103*x^17+ 4145809633309585*w^102*x^18-18720912009502*w^101*x^19+3068153053*w^100*x^20-\ 1562*w^108*x^11+1169507602072*w^107*x^12-3703165753656568*w^106*x^13+ 166764564788738259*w^105*x^14-680551524708242487*w^104*x^15+491250668602625126* w^103*x^16-75817538360712018*w^102*x^17+2210760293264233*w^101*x^18-\ 7507328273446*w^100*x^19+748702476*w^99*x^20-73708*w^107*x^11+3845442339566*w^ 106*x^12-6239231400938580*w^105*x^13+198373758003036993*w^104*x^14-\ 639499583320538966*w^103*x^15+380490454902349881*w^102*x^16-48562685625122977*w ^101*x^17+1137440681203073*w^100*x^18-2862327852897*w^99*x^19+165383160*w^98*x^ 20-1634458*w^106*x^11+11284009092392*w^105*x^12-9939272292466497*w^104*x^13+ 227229015420366870*w^103*x^14-582959642129936877*w^102*x^15+286450988916771541* w^101*x^16-30174570717991093*w^100*x^17+563972751096149*w^99*x^18-1034498522414 *w^98*x^19+32649792*w^97*x^20-22566981*w^105*x^11+29880897654783*w^104*x^12-\ 15016685029743693*w^103*x^13+250951444289493586*w^102*x^14-515783708648863910*w ^101*x^15+209608351799979474*w^100*x^16-18178484413364550*w^99*x^17+ 269127060553747*w^98*x^18-353214232452*w^97*x^19+5667984*w^96*x^20-219611223*w^ 104*x^11+72076555727797*w^103*x^12-21576346536315428*w^102*x^13+ 267522385875789433*w^101*x^14-443106535796469596*w^100*x^15+149065760769512963* w^99*x^16-10611854890719102*w^98*x^17+123420583772896*w^97*x^18-113487857883*w^ 96*x^19+847030*w^95*x^20-1620393326*w^103*x^11+159627206337326*w^102*x^12-\ 29555118282095595*w^101*x^13+275567163397823595*w^100*x^14-369751527083520748*w ^99*x^15+103012742549925442*w^98*x^16-5998528706003624*w^97*x^17+54304427435206 *w^96*x^18-34158890374*w^95*x^19+105849*w^94*x^20-9518409629*w^102*x^11+ 326799267943490*w^101*x^12-38681186820952310*w^100*x^13+274537073288318726*w^99 *x^14-299773374402399063*w^98*x^15+69159719871036494*w^97*x^16-3280816596221852 *w^96*x^17+22882422073945*w^95*x^18-9581002566*w^94*x^19+10607*w^93*x^20-\ 46102446644*w^101*x^11+622103297529918*w^100*x^12-48467279047456071*w^99*x^13+ 264758021393598052*w^98*x^14-236182692113809612*w^97*x^15+45096452507304591*w^ 96*x^16-1734702439579834*w^95*x^17+9214932984290*w^94*x^18-2488623076*w^93*x^19 +798*w^92*x^20-189060494267*w^100*x^11+1106788187150527*w^99*x^12-\ 58246210679091804*w^98*x^13+247343892559367768*w^97*x^14-180857644366871536*w^ 96*x^15+28550080736624185*w^95*x^16-885829735037686*w^94*x^17+3538316608758*w^ 93*x^18-594136200*w^92*x^19+40*w^91*x^20+564*w^100*x^10-670171110497*w^99*x^11+ 1848516080526516*w^98*x^12-67247024561656460*w^97*x^13+224000526639653185*w^96* x^14-134614818814542311*w^95*x^15+17541519167603933*w^94*x^16-436399261187999*w ^93*x^17+1292028904516*w^92*x^18-129179056*w^91*x^19+w^90*x^20+26827*w^99*x^10-\ 2087823744052*w^98*x^11+2909660058374376*w^97*x^12-74699180840458534*w^96*x^13+ 196765229237771758*w^95*x^14-97391548176833603*w^94*x^15+10454658237787375*w^93 *x^16-207155697003816*w^92*x^17+447315755719*w^91*x^18-25284903*w^90*x^19+ 607163*w^98*x^10-5794740188731*w^97*x^11+4331406719906125*w^96*x^12-\ 79944314648974609*w^95*x^13+167733504874279763*w^94*x^14-68485580623714883*w^93 *x^15+6040740928096024*w^92*x^16-94623096372823*w^91*x^17+146325719280*w^90*x^ 18-4389635*w^89*x^19+8568677*w^97*x^10-14491831271484*w^96*x^11+ 6116799073292777*w^95*x^12-82532536033348342*w^94*x^13+138819389623379744*w^93* x^14-46803181387851725*w^92*x^15+3381646916561189*w^91*x^16-41526217544574*w^90 *x^17+45044721117*w^89*x^18-662641*w^88*x^19+84676737*w^96*x^10-32969036279124* w^95*x^11+8217249806340696*w^94*x^12-82283856055476700*w^93*x^13+ 111581674937728463*w^92*x^14-31079241990139410*w^91*x^15+1832763259164606*w^90* x^16-17479492730696*w^89*x^17+12987452476*w^88*x^18-84613*w^87*x^19+628342193*w ^95*x^10-68787905011335*w^94*x^11+10527169813692595*w^93*x^12-79303823227965568 *w^92*x^13+87130323706129674*w^91*x^14-20048220963187683*w^90*x^15+ 960873483121257*w^89*x^16-7043331538615*w^88*x^17+3487356584*w^87*x^18-8776*w^ 86*x^19+3674621965*w^94*x^10-132547336157649*w^93*x^11+12889877635132023*w^92*x ^12-73953151001006698*w^91*x^13+66110293157656188*w^90*x^14-12558959256597429*w ^89*x^15+486860855025212*w^88*x^16-2710940570040*w^87*x^17+866085316*w^86*x^18-\ 693*w^85*x^19+17553721266*w^93*x^10-237302963866155*w^92*x^11+15115182759933858 *w^91*x^12-66780908215775928*w^90*x^13+48747304479080346*w^89*x^14-\ 7637221022127368*w^88*x^15+238160656076388*w^87*x^16-994190654360*w^86*x^17+ 197237605*w^85*x^18-37*w^84*x^19+70414280823*w^92*x^10-396815131434084*w^91*x^ 11+17005819400954941*w^90*x^12-58437262763639599*w^89*x^13+34933461954202362*w^ 88*x^14-4506306305053487*w^87*x^15+112345077075567*w^86*x^16-346400281526*w^85* x^17+40742123*w^84*x^18-w^83*x^19+242436575166*w^91*x^10-622617185371045*w^90*x ^11+18387323785873072*w^89*x^12-49583652795230817*w^88*x^13+24329848122281292*w ^87*x^14-2578552864846450*w^86*x^15+51037159197451*w^85*x^16-114285942121*w^84* x^17+7525355*w^83*x^18-2099*w^91*x^9+729258600638*w^90*x^10-920358840268619*w^ 89*x^11+19134870336996360*w^88*x^12-40815883705703294*w^87*x^13+ 16466859551931489*w^86*x^14-1429987311253663*w^85*x^15+22295884072766*w^84*x^16 -35563370287*w^83*x^17+1219187*w^82*x^18-79032*w^90*x^9+1944676575902*w^89*x^10 -1286320740182054*w^88*x^11+19191343171877821*w^87*x^12-32610370640278453*w^86* x^13+10829094605528838*w^85*x^14-768036367585231*w^84*x^15+9350650933514*w^83*x ^16-10388839858*w^82*x^17+168614*w^81*x^18-1422665*w^89*x^9+4653486511168*w^88* x^10-1705209455635012*w^87*x^11+18573212469984539*w^86*x^12-25297395757957635*w ^85*x^13+6918135301431145*w^84*x^14-399186558481490*w^83*x^15+3757609507525*w^ 82*x^16-2832770576*w^81*x^17+19120*w^80*x^18-16218069*w^88*x^9+10095487998391*w ^87*x^10-2150181389134009*w^86*x^11+17363824487905983*w^85*x^12-\ 19059517264951232*w^84*x^13+4292157459591266*w^83*x^14-200594841503941*w^82*x^ 15+1443738422341*w^81*x^16-715958516*w^80*x^17+1666*w^79*x^18-131658141*w^87*x^ 9+20030001290147*w^86*x^10-2585508502426750*w^85*x^11+15696558444428352*w^84*x^ 12-13949283090675894*w^83*x^13+2585197876478063*w^82*x^14-97357018796731*w^81*x ^15+529031647509*w^80*x^16-166253909*w^79*x^17+99*w^78*x^18-814271575*w^86*x^9+ 36617218228625*w^85*x^10-2971550330657673*w^84*x^11+13732193638753592*w^83*x^12 -9918584620056774*w^82*x^13+1510955890743758*w^81*x^14-45584188593435*w^80*x^15 +184340544853*w^79*x^16-35072554*w^78*x^17+3*w^77*x^18-4015155823*w^85*x^9+ 62078494959616*w^84*x^10-3270998095478651*w^83*x^11+11635405744399888*w^82*x^12 -6852130745385457*w^81*x^13+856490713132598*w^80*x^14-20563149298105*w^79*x^15+ 60871086231*w^78*x^16-6623099*w^77*x^17-16321147709*w^84*x^9+98147596946381*w^ 83*x^10-3454959251575292*w^82*x^11+9554652265049873*w^81*x^12-4599033563444216* w^80*x^13+470589121955487*w^79*x^14-8923691783053*w^78*x^15+18970162872*w^77*x^ 16-1097528*w^76*x^17-56122803037*w^83*x^9+145419653015702*w^82*x^10-\ 3507489187657016*w^81*x^11+7608220665335196*w^80*x^12-2998651123236972*w^79*x^ 13+250440421009681*w^78*x^14-3719101827584*w^77*x^15+5552016843*w^76*x^16-\ 155226*w^75*x^17-166663790724*w^82*x^9+202784156211057*w^81*x^10-\ 3427620574497168*w^80*x^11+5877439879837864*w^79*x^12-1898993236572218*w^78*x^ 13+128991440009759*w^77*x^14-1485658211428*w^76*x^15+1516761363*w^75*x^16-17987 *w^74*x^17+2753*w^82*x^8-434690620818*w^81*x^9+267150077552040*w^80*x^10-\ 3228619887478922*w^79*x^11+4406484515119708*w^78*x^12-1167735240629551*w^77*x^ 13+64241044396952*w^76*x^14-567547130941*w^75*x^15+383880236*w^74*x^16-1600*w^ 73*x^17+91181*w^81*x^8-1009765652845*w^80*x^9+333612890396241*w^79*x^10-\ 2934884202776309*w^78*x^11+3207143085938838*w^77*x^12-697009932523570*w^76*x^13 +30903323713247*w^75*x^14-206793702243*w^74*x^15+89154297*w^73*x^16-97*w^72*x^ 17+1431987*w^80*x^8-2113674246634*w^79*x^9+396088153286219*w^78*x^10-\ 2577379057369677*w^77*x^11+2266476747633691*w^76*x^12-403664575608822*w^75*x^13 +14342357378513*w^74*x^14-71642390954*w^73*x^15+18767537*w^72*x^16-3*w^71*x^17+ 14217399*w^79*x^8-4026425018111*w^78*x^9+448289305162702*w^77*x^10-\ 2188703578812994*w^76*x^11+1555385659182562*w^75*x^12-226706681175278*w^74*x^13 +6413073496776*w^73*x^14-23511838183*w^72*x^15+3523027*w^71*x^16+100590873*w^78 *x^8-7039056901356*w^77*x^9+484815134191926*w^76*x^10-1798757014540693*w^75*x^ 11+1036545474355128*w^74*x^12-123396761182067*w^73*x^13+2758430707238*w^72*x^14 -7276841139*w^71*x^15+576794*w^70*x^16+542904199*w^77*x^8-11374976486467*w^76*x ^9+502077185732365*w^75*x^10-1431661866130971*w^74*x^11+670770795645283*w^73*x^ 12-65047123380015*w^72*x^13+1139260303679*w^71*x^14-2112357834*w^70*x^15+79804* w^69*x^16+2339142149*w^76*x^8-17097216524371*w^75*x^9+498849034708251*w^74*x^10 -1104201387234121*w^73*x^11+421434159107243*w^72*x^12-33180069347191*w^71*x^13+ 450854495020*w^70*x^14-571250569*w^69*x^15+8900*w^68*x^16+8318841700*w^75*x^8-\ 24031408710591*w^74*x^9+476333855498763*w^73*x^10-825671157378434*w^72*x^11+ 257010562089500*w^71*x^12-16361993216385*w^70*x^13+170542940803*w^69*x^14-\ 142702908*w^68*x^15+741*w^67*x^16+25062475022*w^74*x^8-31736036027715*w^73*x^9+ 437779812530578*w^72*x^10-598801742526460*w^71*x^11+152087729171914*w^70*x^12-\ 7791604334851*w^69*x^13+61482650877*w^68*x^14-32573346*w^67*x^15+40*w^66*x^16+ 65314430341*w^73*x^8-39539788158279*w^72*x^9+387780052267374*w^71*x^10-\ 421306604215737*w^70*x^11+87292013167572*w^69*x^12-3578479480521*w^68*x^13+ 21051709419*w^67*x^14-6697635*w^66*x^15+w^65*x^16-1569*w^73*x^7+149776598721*w^ 72*x^8-46644318548718*w^71*x^9+331447372376763*w^70*x^10-287628318688959*w^69*x ^11+48569505585043*w^68*x^12-1582758029420*w^67*x^13+6817478746*w^66*x^14-\ 1216868*w^65*x^15-48656*w^72*x^7+306531396599*w^71*x^8-52268144757628*w^70*x^9+ 273647770298675*w^69*x^10-190554493221280*w^68*x^11+26181034177331*w^67*x^12-\ 673032036067*w^66*x^13+2077543731*w^65*x^14-190141*w^64*x^15-706198*w^71*x^7+ 566542036915*w^70*x^8-55793238776425*w^69*x^9+218426333992753*w^68*x^10-\ 122505073246500*w^67*x^11+13662120511261*w^66*x^12-274598965891*w^65*x^13+ 592018362*w^64*x^14-24547*w^63*x^15-6414485*w^70*x^7+955059630595*w^69*x^8-\ 56875471531015*w^68*x^9+168687632646461*w^67*x^10-76416337132507*w^66*x^11+ 6895653065581*w^65*x^12-107247865435*w^64*x^13+156514491*w^63*x^14-2455*w^62*x^ 15-41172891*w^69*x^7+1480903694476*w^68*x^8-55492759250152*w^67*x^9+ 126124828012539*w^66*x^10-46240392878272*w^65*x^11+3362889098826*w^64*x^12-\ 39985381347*w^63*x^13+38004684*w^62*x^14-169*w^61*x^15-200175260*w^68*x^7+ 2127361234289*w^67*x^8-51924596089171*w^66*x^9+91343488406366*w^65*x^10-\ 27134414834792*w^64*x^11+1582740752658*w^63*x^12-14183936750*w^62*x^13+8365195* w^61*x^14-6*w^60*x^15-772449556*w^67*x^7+2848733985217*w^66*x^8-46675835511870* w^65*x^9+64103695095140*w^64*x^10-15434625166221*w^63*x^11+717895226112*w^62*x^ 12-4767997215*w^61*x^13+1639832*w^60*x^14-2449693946*w^66*x^7+3574949513817*w^ 65*x^8-40369893821562*w^64*x^9+43604884093322*w^63*x^10-8505719456361*w^62*x^11 +313297959076*w^61*x^12-1511452539*w^60*x^13+279299*w^59*x^14-6562078316*w^65*x ^7+4223762223300*w^64*x^8-33639461942573*w^63*x^9+28754238861136*w^62*x^10-\ 4538095226693*w^61*x^11+131300488591*w^60*x^12-449101649*w^59*x^13+39843*w^58*x ^14-15180723138*w^64*x^7+4717218048431*w^63*x^8-27037532156320*w^62*x^9+ 18382363642429*w^61*x^10-2342243762464*w^60*x^11+52723299568*w^59*x^12-\ 124133071*w^58*x^13+4485*w^57*x^14+410*w^64*x^6-30885138729*w^63*x^7+ 4997519566969*w^62*x^8-20981608860127*w^61*x^9+11392031153971*w^60*x^10-\ 1168335744196*w^59*x^11+20229882784*w^58*x^12-31608714*w^57*x^13+356*w^56*x^14+ 12600*w^63*x^6-56092206577*w^62*x^7+5037794154639*w^61*x^8-15733389130334*w^60* x^9+6842539712251*w^59*x^10-562580416069*w^58*x^11+7393156518*w^57*x^12-7321369 *w^56*x^13+15*w^55*x^14+178040*w^62*x^6-92071469539*w^61*x^7+4845217029319*w^60 *x^8-11408012340519*w^59*x^9+3982102469355*w^58*x^10-261154601091*w^57*x^11+ 2563324756*w^56*x^12-1516446*w^55*x^13+1547227*w^61*x^6-138006937306*w^60*x^7+ 4456520028552*w^59*x^8-8002606352735*w^58*x^9+2244361812205*w^57*x^10-\ 116685137023*w^56*x^11+839110676*w^55*x^12-274225*w^54*x^13+9347899*w^60*x^6-\ 190546169269*w^59*x^7+3928077727968*w^58*x^8-5433195239650*w^57*x^9+ 1224348054765*w^56*x^10-50086322020*w^55*x^11+257794467*w^54*x^12-41776*w^53*x^ 13+42149745*w^59*x^6-244125500638*w^58*x^7+3323834124952*w^57*x^8-3571003498808 *w^56*x^9+645995009348*w^55*x^10-20607886515*w^54*x^11+73770488*w^53*x^12-5057* w^52*x^13+148948941*w^58*x^6-292046619984*w^57*x^7+2704205611504*w^56*x^8-\ 2272403266270*w^55*x^9+329361886612*w^54*x^10-8105694596*w^53*x^11+19472680*w^ 52*x^12-435*w^51*x^13+428256843*w^57*x^6-327969253368*w^56*x^7+2118112268836*w^ 55*x^8-1400004510820*w^54*x^9+162092245641*w^53*x^10-3037935536*w^52*x^11+ 4681113*w^51*x^12-20*w^50*x^13+1032503113*w^56*x^6-347328453024*w^55*x^7+ 1598984836340*w^54*x^8-834928322471*w^53*x^9+76899718350*w^52*x^10-1080632552*w ^51*x^11+1007186*w^50*x^12+2139404598*w^55*x^6-348240658239*w^54*x^7+ 1164443976319*w^53*x^8-481844556211*w^52*x^9+35113705192*w^51*x^10-363050494*w^ 50*x^11+189232*w^49*x^12-48*w^55*x^5+3887113711*w^54*x^6-331679871019*w^53*x^7+ 818624788040*w^52*x^8-268965450805*w^51*x^9+15402741055*w^50*x^10-114496693*w^ 49*x^11+29909*w^48*x^12-1514*w^54*x^5+6294962046*w^53*x^6-300970293476*w^52*x^7 +555878947510*w^51*x^8-145123412034*w^50*x^9+6475947150*w^49*x^10-33634412*w^48 *x^11+3738*w^47*x^12-22051*w^53*x^5+9208766187*w^52*x^6-260842654567*w^51*x^7+ 364726734090*w^50*x^8-75625411391*w^49*x^9+2602566294*w^48*x^10-9110930*w^47*x^ 11+328*w^46*x^12-194303*w^52*x^5+12304140792*w^51*x^6-216377093456*w^50*x^7+ 231279240861*w^49*x^8-38021821034*w^48*x^9+996424963*w^47*x^10-2245398*w^46*x^ 11+15*w^45*x^12-1161517*w^51*x^5+15154229539*w^50*x^6-172110476610*w^49*x^7+ 141743414938*w^48*x^8-18419272214*w^47*x^9+361953097*w^46*x^10-494203*w^45*x^11 -5052007*w^50*x^5+17337179835*w^49*x^6-131469477304*w^48*x^7+83947037995*w^47*x ^8-8584228531*w^46*x^9+124112049*w^45*x^10-94551*w^44*x^11-16834147*w^49*x^5+ 18542360830*w^48*x^6-96562118362*w^47*x^7+48028910412*w^46*x^8-3841359090*w^45* x^9+39915563*w^44*x^10-15078*w^43*x^11-44802769*w^48*x^5+18638833930*w^47*x^6-\ 68263574157*w^46*x^7+26531833983*w^45*x^8-1646671160*w^44*x^9+11941478*w^43*x^ 10-1865*w^42*x^11-98601288*w^47*x^5+17688468898*w^46*x^6-46484467557*w^45*x^7+ 14140887833*w^44*x^8-674255424*w^43*x^9+3287392*w^42*x^10-155*w^41*x^11-\ 184675208*w^46*x^5+15908203769*w^45*x^6-30507273345*w^44*x^7+7264448720*w^43*x^ 8-262790063*w^42*x^9+820582*w^41*x^10-6*w^40*x^11+2*w^46*x^4-301324151*w^45*x^5 +13601699534*w^44*x^6-19302846239*w^43*x^7+3592491825*w^42*x^8-97065170*w^41*x^ 9+181872*w^40*x^10+66*w^45*x^4-436443355*w^44*x^5+11085726918*w^43*x^6-\ 11776407068*w^42*x^7+1707515180*w^41*x^8-33791381*w^40*x^9+34676*w^39*x^10+1109 *w^44*x^4-569745259*w^43*x^5+8631693295*w^42*x^6-6926773362*w^41*x^7+778479487* w^40*x^8-11010355*w^39*x^9+5402*w^38*x^10+11171*w^43*x^4-678648619*w^42*x^5+ 6432454135*w^41*x^6-3926677591*w^40*x^7+339604648*w^39*x^8-3327358*w^38*x^9+626 *w^37*x^10+72918*w^42*x^4-745045262*w^41*x^5+4594504241*w^40*x^6-2144036032*w^ 39*x^7+141323436*w^38*x^8-921299*w^37*x^9+44*w^36*x^10+329458*w^41*x^4-\ 760038137*w^40*x^5+3148997178*w^39*x^6-1126580575*w^38*x^7+55886694*w^37*x^8-\ 229779*w^36*x^9+w^35*x^10+1091455*w^40*x^4-725195939*w^39*x^5+2072693566*w^38*x ^6-568962813*w^37*x^7+20900991*w^36*x^8-50338*w^35*x^9+2786178*w^39*x^4-\ 650638112*w^38*x^5+1310861992*w^37*x^6-275738232*w^36*x^7+7347266*w^35*x^8-9306 *w^34*x^9+5719099*w^38*x^4-551260934*w^37*x^5+796783515*w^36*x^6-127967311*w^35 *x^7+2408419*w^34*x^8-1354*w^33*x^9+9788999*w^37*x^4-442626758*w^36*x^5+ 465430365*w^35*x^6-56720594*w^34*x^7+728438*w^33*x^8-134*w^32*x^9+14400027*w^36 *x^4-337773228*w^35*x^5+261172848*w^34*x^6-23931025*w^33*x^7+200344*w^32*x^8-6* w^31*x^9+18650429*w^35*x^4-245533356*w^34*x^5+140680827*w^33*x^6-9569707*w^32*x ^7+49063*w^31*x^8-9*w^35*x^3+21670265*w^34*x^4-170313917*w^33*x^5+72656541*w^32 *x^6-3607151*w^31*x^7+10353*w^30*x^8-192*w^34*x^3+22920074*w^33*x^4-112875439*w ^32*x^5+35920694*w^31*x^6-1272444*w^30*x^7+1780*w^29*x^8-1826*w^33*x^3+22317876 *w^32*x^4-71535730*w^31*x^5+16962551*w^30*x^6-416077*w^29*x^7+223*w^28*x^8-\ 10255*w^32*x^3+20181558*w^31*x^4-43370980*w^30*x^5+7628740*w^29*x^6-124481*w^28 *x^7+15*w^27*x^8-38126*w^31*x^3+17059776*w^30*x^4-25154805*w^29*x^5+3255190*w^ 28*x^6-33433*w^27*x^7-100626*w^30*x^3+13547365*w^29*x^4-13949787*w^28*x^5+ 1311260*w^27*x^6-7831*w^26*x^7-199999*w^29*x^3+10145626*w^28*x^4-7389289*w^27*x ^5+495375*w^26*x^6-1524*w^25*x^7-316612*w^28*x^3+7187292*w^27*x^4-3732758*w^26* x^5+173957*w^25*x^6-225*w^24*x^7-419314*w^27*x^3+4827302*w^26*x^4-1793958*w^25* x^5+56099*w^24*x^6-20*w^23*x^7-482138*w^26*x^3+3078345*w^25*x^4-817599*w^24*x^5 +16319*w^23*x^6-493937*w^25*x^3+1865110*w^24*x^4-351809*w^23*x^5+4163*w^22*x^6-\ 459049*w^24*x^3+1073636*w^23*x^4-142046*w^22*x^5+889*w^21*x^6+6*w^24*x^2-391621 *w^23*x^3+586699*w^22*x^4-53383*w^21*x^5+146*w^20*x^6+94*w^23*x^2-309459*w^22*x ^3+303959*w^21*x^4-18446*w^20*x^5+15*w^19*x^6+584*w^22*x^2-228004*w^21*x^3+ 148862*w^20*x^4-5758*w^19*x^5+1940*w^21*x^2-157122*w^20*x^3+68676*w^19*x^4-1580 *w^18*x^5+4062*w^20*x^2-101567*w^19*x^3+29679*w^18*x^4-362*w^17*x^5+6105*w^19*x ^2-61689*w^18*x^3+11921*w^17*x^4-64*w^16*x^5+7225*w^18*x^2-35209*w^17*x^3+4404* w^16*x^4-6*w^15*x^5+7190*w^17*x^2-18859*w^16*x^3+1467*w^15*x^4+6355*w^16*x^2-\ 9459*w^15*x^3+428*w^14*x^4+5066*w^15*x^2-4408*w^14*x^3+103*w^13*x^4+3683*w^14*x ^2-1903*w^13*x^3+19*w^12*x^4+2463*w^13*x^2-747*w^12*x^3+w^11*x^4-w^13*x+1511*w^ 12*x^2-267*w^11*x^3-11*w^12*x+857*w^11*x^2-81*w^10*x^3-41*w^11*x+439*w^10*x^2-\ 21*w^9*x^3-69*w^10*x+208*w^9*x^2-3*w^8*x^3-71*w^9*x+89*w^8*x^2-57*w^8*x+34*w^7* x^2-38*w^7*x+10*w^6*x^2-27*w^6*x+3*w^5*x^2-14*w^5*x-7*w^4*x-3*w^3*x-w^2*x+1)]: L[n]: end: #AsyAve(f,z,w,K): inputs a rational function f in z and w estiamtes [C1,C0] such that the coeff. of z^n of subs(w=1,diff(f,w)) divided by the coeff. of z^n equals C1*n+C0 by looking #at two consectutive terms around the coeff. of z^K. Try: #AsyAve(1/(1-z*w-z^2),z,w,200); AsyAve:=proc(f,z,w,K) local eq,var,C1,C0,f0,f1,f0T,f1T,C0a,C1a,C0b, C1b,sol,i: f0:=normal(subs(w=1,f)): f1:=normal(subs(w=1,diff(f,w))): f0T:=taylor(f0,z=0,K+10): f1T:=taylor(f1,z=0,K+10): var:={C0,C1}: eq:={seq(coeff(f1T,z,i)/coeff(f0T,z,i)=C0+C1*i,i=K-3..K-2)}: sol:=solve(eq,var): C0a:=subs(sol,C0): C1a:=subs(sol,C1): eq:={seq(coeff(f1T,z,i)/coeff(f0T,z,i)=C0+C1*i,i=K-1..K)}: sol:=solve(eq,var): C0b:=subs(sol,C0): C1b:=subs(sol,C1): if abs(C0a-C0b)>10^(-Digits-2) or abs(C1a-C1b)>10^(-Digits-2) then RETURN(FAIL): fi: evalf([C1b,C0b]): end: #HV(S): Given a set of edges of P_m x P_n outputs the pair [h,v] where h is the number of horizontal edges, and v is the number of vertical edges. Try: #HV({{[1,0],[2,0]}}); HV({{[0,1],[0,2]}}); HV:=proc(S) local h,v,s: h:=0: v:=0: for s in S do if nops(s)<>2 then RETURN(FAIL): fi: if s[1][1]=s[2][1] then h:=h+1: elif s[1][2]=s[2][2] then v:=v+1: else RETURN(FAIL): fi: od: [h,v]: end: #DiGw1w2(m): the directed graph representation of the grammar of tilings of [m]x[n] by rectangles for a fixed m, followed by the bi-weight of each vertex ([number of horizontal edges in the grid, number of vertical edges in the grid]. #Try: #DiGw1w2(2); DiGw1w2:=proc(m) local A,G,T,a,A2,Na,i,a1,g,T2: A:=Alphabet(m): G:=Grammar(m): if A[1] minus A[2]<>{} then RETURN(FAIL): fi: if nops(A[3])<>1 then RETURN(FAIL): fi: a:=nops(A[2]): A2:=convert(A[2],list): Na[A[3][1]]:=a+2: T2[1]:=[0,0]: T2[a+2]:=HV(A[3][1]): for i from 1 to a do Na[A2[i]]:=i+1: T2[i+1]:=HV(A2[i]): od: T[1]:={seq(Na[a1], a1 in A[1])}: for i from 2 to a+1 do T[i]:={}: od: T[a+2]:={}: for g in G[2] union G[3] do T[Na[g[1]] ]:= T[Na[g[1]] ] union {Na[g[2]]}: od: [[seq(T[i],i=1..a+2)],[seq(T2[i],i=1..a+2)]]: end: #AdjMatW1W2(G,w1,w2): Given a bi-weighted directed graph G=[G1,WeightBiTable], and a variable names w1, w2, (in our format n:=nops(G1)=nops(WeightTable). Outputs the n by n weighted adjacency matrix in terms of powers of w1 and w2. Try # G:=DiGw1w2(2):AdjMatW1W2(G,w1,w2); AdjMatW1W2:=proc(G,w1,w2) local M,M1,i,n,j,G1,W1: G1:=G[1]: W1:=G[2]: n:=nops(G1): if nops(W1)<>n then RETURN(FAIL): fi: M:=[]: for i from 1 to n do M1:=[]: for j from 1 to n do if member(j, G1[i]) then M1:=[op(M1),w1^W1[j][1]*w2^W1[j][2]]: else M1:=[op(M1),0]: fi: od: M:=[op(M),M1]: od: M: end: #WalkGFw1w2(G,x,w1,w2): Inputs a bi-weighted directed graph G=[V,T], where T[v] is the set of outgoing neighbors of v, and a variable x, outputs the matrix of rational functions whose (i,j) entry is #the generating function in x, according to lengths of walks from i to j. Try: WalkGFw1w2:=proc(G,x,w1,w2) local n,M,i: n:=nops(G[1]): M:=AdjMatW1W2(G,w1,w2): M:=matrix([seq(expand([0$(i-1),1,0$(n-i)]-x*M[i]),i=1..n)]): normal(inverse(M))[1,n]: end: #Fmxw1w2(m,x,w1,w2): The bi-weighted generating function (by w1^NumberOfHorizontalEdges*w2^NumberIfVerticalDdeges of SeqR(m,infinity); Try: #Fmxw1w2(3,x,w1,w2); Fmxw1w2:=proc(m,x,w1,w2) local G: G:=DiGw1w2(m): normal(1+WalkGFw1w2(G,x,w1,w2)/x): end: #CheckFmxw1w2(m,N): checks the correctness of Fmxw1w2(m,w1,w2,x) up to the coefficient of x^N. Try: #CheckFmxw1w2(2,5); CheckFmxw1w2:=proc(m,N) local f,x,w1,w2,n,gu1,gu2,S,s: f:=Fmxw1w2(m,x,w1,w2): f:=taylor(f,x=0,N+1): for n from 1 to N do gu1:=expand(coeff(f,x,n)): S:=TIrPe([n$m]): gu2:=add(w1^HV(s)[1]*w2^HV(s)[2], s in S): if gu1<>gu2 then print(`When n=`, n, ` it fails `): RETURN(false): fi: od: true: end: #NewTileSi(i,k): the signal of a new tile in a letter starting with horizontal edge {[i,0],[i,1]} and ending in horizontal edge {[i+k,0],[i+k,1]}, it outputs the #set of edges that should be there followed by the set of horizontal edges that should not. Try: #NewTileSi(2,4); NewTileSi:=proc(i,k) local j: [{seq({[i+j,0],[i+j+1,0]},j=0..k-1),{[i,0],[i,1]},{[i+k,0],[i+k,1]}},{seq({[i+j,0],[i+j,1]},j=1..k-1)}]: end: #NNT(LE): The number of new tiles starting with the letter LE in Alphabet(m) #Try: #LE:=Alphbaet(4)[2][1]; NT(LE); NNT:=proc(m,LE) local i,co,k,gu: co:=0: for i from 0 to m-1 do for k from 1 to m-i do gu:=NewTileSi(i,k): if gu[1] minus LE={} and gu[2] intersect LE={} then co:=co+1: fi: od: od: co: end: #### #DiGt(m): the directed graph representation of the grammar of tilings of [m]x[n] by rectangles for a fixed m, followed by the "numtber of new tiles" weight of each vertex. Try: #DiGt(2); DiGt:=proc(m) local A,G,T,a,A2,Na,i,a1,g,T2: A:=Alphabet(m): G:=Grammar(m): if A[1] minus A[2]<>{} then RETURN(FAIL): fi: if nops(A[3])<>1 then RETURN(FAIL): fi: a:=nops(A[2]): A2:=convert(A[2],list): Na[A[3][1]]:=a+2: T2[1]:=0: T2[a+2]:=NNT(m,A[3][1]): for i from 1 to a do Na[A2[i]]:=i+1: T2[i+1]:=NNT(m,A2[i]): od: T[1]:={seq(Na[a1], a1 in A[1])}: for i from 2 to a+1 do T[i]:={}: od: T[a+2]:={}: for g in G[2] union G[3] do T[Na[g[1]] ]:= T[Na[g[1]] ] union {Na[g[2]]}: od: [[seq(T[i],i=1..a+2)],[seq(T2[i],i=1..a+2)]]: end: #Fmxt(m,x,w): The weighted generating function, according to the weight t^NumberOfTIles of SeqR(m,infinity); Try: #Fmxt(3,x,t); Fmxt:=proc(m,x,t) local G: G:=DiGt(m): normal(1+WalkGFw(G,x,t)/x): end: #CheckFmxt(m,N): checks the correctness of Fmxt(m,w,t) up to the coefficient of x^N. Try: #CheckFmx2(2,5); CheckFmxt:=proc(m,N) local f,x,t,n,gu1,gu2,S,s: f:=Fmxt(m,x,t): f:=taylor(f,x=0,N+1): for n from 1 to N do gu1:=expand(coeff(f,x,n)): S:=TIrP([n$m]): gu2:=add(t^nops(s), s in S): if gu1<>gu2 then print(`When n=`, n, ` it fails `): RETURN(false): fi: od: true: end: