OFFSET
1,2
LINKS
Hugo Pfoertner, Table of n, a(n) for n = 1..10000
PROG
(PARI) a374177(upto) = {my(r=-oo); for(n=0, upto, my(s=n^2, t=s*(s+1)/2, j=t-sqrtint(t)^2); if(j>r, print1(n, ", "); r=j))};
a374177(300)
CROSSREFS
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Jul 07 2024
STATUS
approved