read `Cfinite.txt`:
print(`Question: Is The rational function that belongs to the C-finite sequence`, [[2,10,36,145],[2,7,2,-1]], `namely `):
lu:=CtoR([[2,10,36,145],[2,7,2,-1]],t):
print(lu):
print(`the Hadamard product of two rational functions of (denominator) degree 2?`):
print(`Answer: `, IsProdG(lu,t,[2,2],1/100000)):
print(`Question: Is the generating function for the number of perfect matchings in a 4 by n rectangle, i.e. `):
lu:=TDB(t)[1]:
print(lu):
print(`the Hadamard product of two rational functions, each of (denominator) degree 2?`):
print(`Answer: `, IsProdG(lu,t,[2,2],1/100000)):
print(`Question: Is the generating function for the number of perfect matchings in a 8 by n rectangle, i.e. `):
lu:=TDB(t)[3]:
print(lu):
print(`the Hadamard product of four rational functions, each of (denominator) degree 2?`):
print(`Answer: `, IsProdG(lu,t,[2,2,2,2],1/100000)):
print(`Question: Is the generating function for the number of perfect matchings in a 10 by n rectangle, i.e. `):
lu:=TDB(t)[4]:
print(lu):
print(`the Hadamard product of five rational functions, each of (denominator) degree 2?`):
print(`Answer: `, IsProdG(lu,t,[2,2,2,2,2],1/100000)):
print(`This took`, time(), `seconds . `):
quit: