Commits

Steve McConville  committed 3443405

notes on analytic solution

  • Participants
  • Parent commits fd75fb1

Comments (0)

Files changed (1)

File 9/solution.pl

    between(1,N,Z),
    Z + Y + X =:= N,
    Z*Z =:= X*X + Y*Y.
+
+% Subsequently realised I can use Euler's equation to solve
+% analytically for n=20, m=5; much easier