Modular and reciprocity approaches to a family of diophantine equations