cp's OEIS Frontend

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.

A336788 Values of prime numbers, D, for incrementally largest values of minimal y satisfying the equation x^2 - D*y^2 = 2.

Original entry on oeis.org

2, 31, 103, 127, 151, 199, 271, 463, 631, 751, 919, 991, 1471, 1759, 1831, 1999, 2311, 2671, 3319, 4111, 4519, 4951, 5119, 6679, 8191, 8719, 10399, 11839, 12919, 13399, 15031, 16879, 19231, 21319, 23599, 26959, 30319, 32839, 34519, 37591, 38119, 43759, 48799, 53551, 58111, 62791
Offset: 1

Views

Author

Christine Patterson, Aug 05 2020

Keywords

Examples

			For D = 2, the least y for which x^2 - D*y^2 = 2 has a solution is 1.
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.
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.
		

Crossrefs

Cf. A033316 (analogous for x^2 - D*y^2 = 1), A336786 (similar sequence for x's), A336789.

Extensions

a(1) corrected and Example section edited by Jon E. Schoenfield, Feb 24 2021