Answer
665 was the year in which Brahmagupta, an Indian mathematician and astronomer, wrote the Khaṇḍakhādyaka. This text is a treatise on mathematics and astronomy, and it is one of the most important works in the history of Indian mathematics. The Khaṇḍakhādyaka contains a number of important mathematical results, including a formula for solving quadratic equations and a method for calculating the area of a circle.