OFFSET
1,2
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
R:= 0: m:= 0: count:= 1:
for i from 1 while count < 100 do
t:= i*(i+1)/2;
v:= t - floor(sqrt(t))^2;
if v > m then
R:= R, v; m:= v; count:= count+1;
fi
od:
R; # Robert Israel, Dec 19 2024
PROG
(PARI) a373327(nmax) = {my(m=-oo); for(n=0, nmax, my(T=n*(n+1)/2, d=T-sqrtint(T)^2); if(d>m, print1(d, ", "); m=d))};
a373327(750)
CROSSREFS
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Jun 01 2024
STATUS
approved