Ass and Mule Problem

Author

Eric W. Weisstein
April 13, 2004

This notebook downloaded from http://mathworld.wolfram.com/notebooks/Algebra/AssandMuleProblem.nb.

For more information, see Eric's MathWorld entry http://mathworld.wolfram.com/AssandMuleProblem.html.

©2005 Wolfram Research, Inc. except for portions noted otherwise

Euclid

Solve[{x+1==y-1,2(x-1)==y+1},{x,y}]

Reduce[x+1==y-1&&2(x-1)==y+1,{x,y},Integers]

Singmaster

Solve[{x+a==b(y-a),y+c==d(x-c)},{x,y}]//FullSimplify

Reduce[x+a==b(y-a)&&y+c==d(x-c)&&Sequence@@(#>0&/@{x,y,a,b,c,d}),{x,y},Integers]