login
A373328
Numbers k such that the difference between T = k*(k+1)/2 = A000217(k) and the largest square <= T reaches a new record.
2
0, 2, 5, 9, 12, 15, 19, 22, 29, 32, 39, 46, 53, 56, 63, 70, 73, 80, 87, 90, 97, 104, 111, 114, 121, 131, 155, 172, 189, 213, 230, 254, 271, 295, 312, 329, 353, 370, 394, 411, 428, 452, 469, 493, 510, 527, 551, 568, 592, 609, 633, 650, 667, 691, 708, 732, 749, 766
OFFSET
1,2
PROG
(PARI) a373328(nmax) = {my(m=-oo); for(n=0, nmax, my(T=n*(n+1)/2, d=T-sqrtint(T)^2); if(d>m, print1(n, ", "); m=d))};
a373328(770)
CROSSREFS
A373327 gives the corresponding differences.
Sequence in context: A063957 A184579 A186274 * A184926 A342745 A189384
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Jun 01 2024
STATUS
approved