diophantine (2*x**2+3*x*y-4*y**2-2)
Want to compute something more complicated? Try a full Python/SymPy console at SymPy Live.