read AppsWZmulti: #Latics paths with steps {[0,2],[2,0],[1,1]} (same set of steps as Motzkin, but no restiction to be on #one part of the diagonal) #the diagonal is the central trinomial coefficients LatticePathsStory({[0,2],[2,0],[1,1]},m): LatticePathsDiagonalStory({[0,2],[2,0],[1,1]},n); print(`The whole thing took`, time(), `seconds of CPU time `): quit: