This problem was given in India by the mathematician Brahmagupta in 628 AD in his treatise Brahma Sputa Siddhanta:

Solve Pell's equation

for integers .

Brahmagupta gave the smallest solution as .

See also Indian mathematics List of Indian mathematicians Indeterminate equation Diophantine equation

External links