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 A336788 #29 Feb 27 2021 21:49:13 %S A336788 2,31,103,127,151,199,271,463,631,751,919,991,1471,1759,1831,1999, %T A336788 2311,2671,3319,4111,4519,4951,5119,6679,8191,8719,10399,11839,12919, %U A336788 13399,15031,16879,19231,21319,23599,26959,30319,32839,34519,37591,38119,43759,48799,53551,58111,62791 %N A336788 Values of prime numbers, D, for incrementally largest values of minimal y satisfying the equation x^2 - D*y^2 = 2. %e A336788 For D = 2, the least y for which x^2 - D*y^2 = 2 has a solution is 1. %e A336788 The next primes, D, for which x^2 - D*y^2 = 2 has a solution are 7 and 23, but the smallest y in each of these cases is also 1, which is equal to the previous record y. So neither 7 nor 23 is a term. %e A336788 The next prime, D, after 23 for which x^2 - D*y^2 = 2 has a solution is 31 and the least y for which it has a solution there is y = 7, which is larger than 1, so it is a new record y value. So 31 is a term here, and 7 is the corresponding term of A336789. %Y A336788 Cf. A033316 (analogous for x^2 - D*y^2 = 1), A336786 (similar sequence for x's), A336789. %K A336788 nonn %O A336788 1,1 %A A336788 _Christine Patterson_, Aug 05 2020 %E A336788 a(1) corrected and Example section edited by _Jon E. Schoenfield_, Feb 24 2021