OFFSET
1,1
LINKS
Jean-François Alcover, Table of n, a(n) for n = 1..1000
MATHEMATICA
a[n_] := 2k + 1 /. Solve[k > 0 && 1 < h < 2k + 1 + 4n && (2k + 1)^2 + (4n)^2 == h^2 && GCD[2k + 1, 4n, h] == 1, {k, h}, Integers][[1]];
a /@ Range[57] (* Jean-François Alcover, Mar 05 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Lekraj Beedassy, Nov 17 2003
EXTENSIONS
Extended by Ray Chandler, Jul 14 2004
STATUS
approved