History of Mathematics
in India IIT Gandhinagar, home

Project Brahmagupta · problem 68

Brahmagupta’s Bhāvanā

Brahmagupta’s bhāvanā composes two solutions of x2−Ny2=1x^2 - Ny^2 = 1 into a third: from (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) it forms (x1x2+Ny1y2,  x1y2+x2y1)(x_1 x_2 + N y_1 y_2,\; x_1 y_2 + x_2 y_1). Starting from the solution (8,3)(8, 3) of x2−7y2=1x^2 - 7y^2 = 1 and composing it with itself again and again gives the solutions (xn,yn)(x_n, y_n) with xn+yn7=(8+37)nx_n + y_n \sqrt 7 = (8 + 3\sqrt 7)^n. Let nn be the least index for which yn>1030y_n > 10^{30}. Find xn mod (109+7)x_n \bmod (10^9 + 7).

Try it

Check an answer

Enter a number, or a decimal where the problem asks for one. Only a hash of the answer is kept on this page.

Problem 68 of Project Brahmagupta, published under the Creative Commons Attribution 4.0 licence. No solutions are published.