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 A177041 #18 Jul 21 2015 05:00:05 %S A177041 1,3,4,7,11,16,20,26,31,39,44,53,63,74,82,94,105,119,128,141,157,174, %T A177041 188,204,221,239,254,275,295,318,336,360,377,403,422,447,475,502,526, %U A177041 554,581,611,636,665,697,732,760,794,825,861 %N A177041 Sum(round(k^2/n),k=1..n). %C A177041 The round function, also called the nearest integer function, is defined here by round(x)=floor(x+1/2). %H A177041 Mircea Merca, <a href="http://www.cs.uwaterloo.ca/journals/JIS/VOL14/Merca/merca3.html">Inequalities and Identities Involving Sums of Integer Functions</a> J. Integer Sequences, Vol. 14 (2011), Article 11.9.1. %p A177041 A177041 := proc(n) %p A177041 add( round(j^2/n),j=1..n) ; %p A177041 end proc: %t A177041 Table[Sum[Floor[k^2/n + 1/2], {k, n}], {n, 50}] %Y A177041 Cf. A014817. %K A177041 nonn,easy %O A177041 1,2 %A A177041 _Mircea Merca_, Dec 09 2010