OFFSET
0,15
LINKS
T. D. Noe, Table of n, a(n) for n = 0..10000
Carlos Rivera, Conjecture 17. The Ludovicus conjecture about the Euler trinomials, The Prime Puzzles & Problems Connection.
MATHEMATICA
a[n_] := Switch[n, 0, 1, _, Module[{f, kmax0 = 2}, f[kmax_] := f[kmax] = MinimalBy[Table[{k, FactorInteger[k^2 + k + 2 n + 1][[1, 1]]}, {k, 0, kmax}], Last, 1]; f[kmax = kmax0]; f[kmax = 2 kmax]; While[f[kmax] != f[kmax/2], kmax = 2 kmax]; f[kmax][[1, 1]]]];
Table[a[n], {n, 0, 105}] (* Jean-François Alcover, Aug 15 2022 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Apr 04 2001
EXTENSIONS
More terms from T. D. Noe, Mar 12 2007
STATUS
approved