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 A014785 #19 Jul 08 2025 05:42:06 %S A014785 1,3,6,9,13,18,24,30,35,43,52,61,69,80,92,102,113,125,140,155,169,184, %T A014785 202,220,231,251,270,291,309,332,354,376,397,419,446,469,493,520,550, %U A014785 578,601,631,660,693,721,754,788 %N A014785 a(n) = Sum_{0<=k<=n} ceiling(k^2/n). %D A014785 M. Eichler and D. Zagier, The Theory of Jacobi Forms, Birkhauser, 1985, p. 103. %H A014785 Robert Israel, <a href="/A014785/b014785.txt">Table of n, a(n) for n = 1..10000</a> %p A014785 f := n->sum( ceil(k^2/n), k=0..n); %t A014785 Table[Sum[Ceiling[k^2/n],{k,0,n}],{n,50}] (* _Harvey P. Dale_, Oct 24 2013 *) %o A014785 (Magma) [&+[Ceiling(k^2/n):k in [0..n]]:n in [1..50]]; // _Marius A. Burtea_, Dec 31 2019 %Y A014785 Cf. A014817 (with floor), A177041 (with round). %K A014785 nonn %O A014785 1,2 %A A014785 _N. J. A. Sloane_