Original: Interested in astronomy and trying to develop a calendar, he investigated Diophantine equations.
Simplified: He tried to develop a calendar and for this he investigated Diophantine equations.