OFFSET
1,2
COMMENTS
Calculated using Dario Alpern's quadratic Diophantine solver, see link.
LINKS
Robin Visser, Table of n, a(n) for n = 1..10000
Dario Alpern, Generic two integer variable equation solver.
Eric Weisstein's World of Mathematics, Pell Equation.
EXAMPLE
The first fundamental solutions [x(n), y(n)] are (the first entry gives D(n)=a(n)):
[1, [2, 1]], [6, [3, 1]], [13, [4, 1]], [22, [5, 1]], [33, [6, 1]], [46, [7, 1]], [61, [8, 1]], [69, [108, 13]], [73, [94, 11]], [78, [9, 1]], [94, [223, 23]], [97, [10, 1]], [109, [9532, 913]], [118, [11, 1]], [141, [12, 1]], [157, [289580, 23111]], [166, [13, 1]], [177, [306, 23]], [181, [148, 11]], [193, [14, 1]], ...
PROG
(Python)
from itertools import count, islice
from sympy.solvers.diophantine.diophantine import diop_DN
def A377607_gen(startvalue=1): # generator of terms >= startvalue
return filter(lambda d:len(diop_DN(d, 3)), count(max(startvalue, 1)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Robin Visser, Nov 02 2024
STATUS
approved