This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A339576 #18 Dec 19 2020 07:56:45 %S A339576 1,4,10,17,29,41,59,74,101,121,151,179,215,245,295,326,374,423,477, %T A339576 519,591,641,707,767,844,904,1000,1056,1140,1234,1324,1387,1507,1587, %U A339576 1701,1794,1902,1992,2136,2226,2346,2476,2602,2692,2874,2984,3122,3246,3397 %N A339576 Row sums of triangle A236104. %C A339576 In other words, a(n) is the sum of squares of terms in row n of A235791. %p A339576 a:= n-> add(ceil((n+1)/k-(k+1)/2)^2, k=1..floor((sqrt(8*n+1)-1)/2)): %p A339576 seq(a(n), n=1..60); # _Alois P. Heinz_, Dec 18 2020 %o A339576 (PARI) a(n) = sum(k=1, floor((sqrt(8*n+1)-1)/2), ceil((n+1)/k-(k+1)/2)^2) \\ _Felix Fröhlich_, Dec 19 2020; adapted from Maple code %Y A339576 Cf. A024916, A060831, A235791, A236104, A237593, A240542. %K A339576 nonn %O A339576 1,2 %A A339576 _N. J. A. Sloane_, Dec 18 2020