Text this: On a class of diophantine equations