OFFSET
1,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..10000
FORMULA
a(1) = 3 and a(n) = floor(2^(1/n+1)/(2^(1/n)-1)) for n > 1.
a(n) = A078608(n) + 1.
EXAMPLE
a(2) > 5 because the number of internal lattice points = 4^2 = 16 < 20 = 6^2 - 16 = the number of external lattice points, therefore a(2)=6 because the number of internal lattice points = 5^2 = 25 > 24 = 7^2 - 25 = number of external lattice points.
MAPLE
a:= n-> ceil(1+2/(2^(1/n)-1)):
seq(a(n), n=1..65); # Alois P. Heinz, Apr 20 2021
MATHEMATICA
a[1] = 3; a[n_] := Floor[2^(1/n + 1)/(2^(1/n) - 1)]; Array[a, 100] (* Amiram Eldar, Mar 31 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Gary Yane, Mar 23 2021
STATUS
approved