OFFSET
1,1
COMMENTS
Greatest prime q such that 2*x^2 + A391049(n)*x + q = 0 (equivalently, q*x^2 + A391049(n)*x + 2 = 0) has two rational roots (see second comment in A391049).
For n = 1 and n = 2 there is a second, smaller prime q (2 and 3, respectively) also satisfying the condition; for n > 2 the listed q is unique (see third comment in A391049).
LINKS
Felix Huber, Table of n, a(n) for n = 1..10000
EXAMPLE
MAPLE
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Felix Huber, Nov 27 2025
STATUS
approved
