A254934 Fundamental positive solution x = x1(n) of the first class of the Pell equation x^2 - 2*y^2 = -A007519(n), n>=1 (primes congruent to 1 mod 8).
1, 3, 5, 3, 1, 7, 5, 7, 3, 1, 9, 13, 5, 1, 15, 7, 13, 17, 1, 11, 19, 3, 1, 17, 11, 21, 9, 7, 11, 17, 21, 5, 1, 23, 11, 27, 9, 7, 5, 3, 19, 11, 23, 27, 7, 31, 1, 13, 25, 19, 33, 7, 5, 21, 31, 25, 9, 29, 5, 15, 27, 13, 31, 11, 7, 17, 3, 37, 41, 31, 19, 25, 7, 35, 5, 17, 33, 13, 21, 19, 45, 25, 3
Offset: 1
Examples
The first pairs [x1(n), y1(n)] of the fundamental positive solutions of this first class are (the prime A007519(n) is listed as first entry): [17, [1, 3]], [41, [3, 5]], [73, [5, 7]], [89, [3, 7]], [97, [1, 7]], [113, [7, 9]], [137, [5, 9]], [193, [7, 11]], [233, [3, 11]], [241, [1, 11]], [257, [9, 13]], [281, [13, 15]], [313, [5, 13]], [337, [1, 13]], [353, [15, 17]], [401, [7, 15]], [409, [13, 17]], [433, [17, 19]], [449, [1, 15]], [457, [11, 17]], [521, [19, 21]], [569, [3, 17]], [577, [1, 17]], [593, [17, 21]], [601, [11, 19]], [617, [21, 23]], [641, [9, 19]], [673, [7, 19]], [761, [11, 21]], [769, [17, 23]], ... n=1: 1^2 - 2*3^2 = 1 - 18 = -17, ...
References
- T. Nagell, Introduction to Number Theory, Chelsea Publishing Company, New York, 1964.
Links
- M. F. Hasler, Table of n, a(n) for n = 1..1000
Crossrefs
Programs
-
PARI
apply( {A254934(n, p=A007519(n))=Set(abs(qfbsolve(Qfb(-1,0,2), p,1)))[1][1]}, [1..77]) \\ The 2nd optional arg allows to directly specify the prime. - M. F. Hasler, May 22 2025
Formula
Extensions
More terms from M. F. Hasler, May 22 2025
Comments