Diophantine Equation #2

Consider the following diophantine equation:

x 2 + x y + y 2 = n \displaystyle x^2 + xy + y^2 = n

For a particular positive integer n n , the number of solutions ( x , y ) (x, y) such that x x and y y are integers is given by the function S ( n ) S(n) .

The function S ( n ) S(n) is not one-to-one. For example, each number n n in the set { 1 , 4 , 9 , 16 , 25 , 36 } \{1, 4, 9, 16, 25, 36\} corresponds with S ( n ) = 6 S(n) = 6 .

In increasing order, starting from n = 1 n = 1 , the first n n such that S ( n ) = 36 S(n) = 36 is 637 637 .

What is the 500th n n such that S ( n ) = 36 S(n) = 36 ?


The answer is 88387.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Yuriy Kazakov
Jul 25, 2020

I find A004016 and Set solution number and see that solution exist for n = m 2 3 r p k n k n=m^2 3^r\prod {p_k}^{n_{k}} where p k = 3 q + 1 p_k =3q+1 - prime number and m m has not prime divisor form 3 q + 1 3q+1 . And S ( n ) = 36 S(n)=36 for n = m 2 3 r p k 2 p s n= m^2 3^r {p_k}^{2}{p_s} - form 1 1 or n = m 2 3 r p k 5 n= m^2 3^r {p_k}^{5} - form 2 2 .

And I use Python and find 497 497 numbers of form 1 1 and 3 3 numbers of form 2 2 . Answer 88387 \boxed {88387} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...