#Please do not post homework Kenneth Chan Math 454 HW 1 1. p:= X^2+5x+6: d:= factor(p); (x+3)(x+2) g:=d/(x+2) (x+3) 2.F(6)={[1,1,1,1,1,1],[2,1,1,1,1,],[1,2,1,1,1],[1,1,2,1,1][1,1,2,1,1][1,1,1,2,1],[1,1,1,1,2],[2,2,1,1],[2,1,2,1],[2,1,1,2],[1,2,2,1],[1,2,1,2],[1,1,2,2] 3. L2:=[op(3),Earth], We must also must initialize Walks to give an empty set when negative because we are not taking paths behinds us due to the impliciation that we are always moving forward. This means that it is impossible and there exist no possible path. If Walks(0,0), then we understand that there is no path, unlike the impossible path in the question before.