← RoseCode

ROSECODE 286

A Diophantine Equation

sinan · Math ·

x2 + y2 - k*x*y = 1 (1) where k is an integer > 1 and 0 < x < y Let pol(n) be a monic polynomial of degree n: kn + an-1*kn-1 + ... + a1*k + a0 If the first solution to the above equation (1) is (1,k) pair then the solution to nth would be (pol(n-1),pol(n)). What is the 100th solution? Answer format: sum1+sum2 where sum1=∑ai3 for pol(99) and sum2=∑ai3 for pol(100) Example: -17402 (875-18277) for 10th solution [My timing: < 1s] See also: Monic polynomial - Wikipedia, the free encyclopedia Diophantine equation - Wikipedia, the free encyclopedia