diophantine (x**2-4*x*y+8*y**2-3*x+7*y-5)

Want to compute something more complicated? Try a full Python/SymPy console at SymPy Live.