This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A336786 #32 Feb 16 2021 23:36:03 %S A336786 2,7,23,31,71,103,127,151,199,271,463,631,751,919,991,1471,1759,1831, %T A336786 1999,2311,2671,3319,4111,4519,4951,5119,6679,8191,8719,10399,11839, %U A336786 12919,13399,15031,16879,19231,21319,23599,26959,30319,32839,34519,37591,38119,43759,48799 %N A336786 Value of prime number D for incrementally largest values of minimal x satisfying the equation x^2 - D*y^2 = 2. %C A336786 Analogous to A033316 for x^2 - D*y^2 = 1, and D is required to be prime, and for record values of x. %e A336786 For D=31, the least x for which x^2-Dy^2=2 has a solution is 39. The next prime, D, for which x^2-Dy^2=2 has a solution is 47, but the smallest x in this case is 7, which is less than 39. The next prime, D, after 47 for which x^2-Dy^2=2 has a solution is 71 and the least x for which it has a solution is x=59, which is larger than 39, so it is a new record value. 71 is a term of this sequence and 59 is a term of A336787. 47 is not a term here because the least x for which x^2-47y^2=2 has a solution is not a record value. %Y A336786 Cf. A033316. %K A336786 nonn %O A336786 1,1 %A A336786 _Christine Patterson_, Aug 05 2020