OFFSET
1,2
COMMENTS
This is an infinite sequence, since the solutions to the Pell equations for primes p = 4*k+1 will give ratios with limit 0. For example, the entry 7 satisfies 7^2 - 2*5^2 = -1 and the ratio is 5/7. However, not all entries are given by this technique.
LINKS
Jonathan Bober, Dan Fretwell, Greg Martin, and Trevor D. Wooley, Smooth values of polynomials, Journal of the Australian Mathematical Society, Vol. 108, No. 2 (2020), pp. 245-261. arXiv:1710.01970 [math.NT] [alternate link]
EXAMPLE
a(3) = 7 because 7^2+1 = 2*5^2 and 5/7 is smaller than all previous results.
MATHEMATICA
f[n_] := FactorInteger[n^2 + 1][[-1, 1]]/n; s = {}; fm = 3; Do[f1 = f[n]; If[f1 < fm, fm = f1; AppendTo[s, n]], {n, 1, 2*10^4}]; s (* Amiram Eldar, Mar 03 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
M. J. Knight (melknightdr(AT)verizon.net), Feb 21 2010
EXTENSIONS
More terms from Amiram Eldar, Mar 03 2021
STATUS
approved