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 A161339 #8 Feb 11 2019 01:25:50 %S A161339 1,3,5,8,12,16,20,24,29,35,41,47,53,59,65,72,80,88,96,104,112,120,128, %T A161339 136,145,155,165,175,185,195,205,215,225,235,245,256,268,280,292,304, %U A161339 316,328,340,352,364,376,388,400,413,427,441,455,469,483,497,511 %N A161339 Partial sums of A161205. %H A161339 Nathaniel Johnston, <a href="/A161339/b161339.txt">Table of n, a(n) for n = 1..10000</a> %p A161339 A161339 := proc(n) option remember: local s: if(n=1)then return 1: fi: s:=sqrt(n): if(frac(s)=0)then return procname(n-1)+2*s-1: else return procname(n-1)+2*floor(s): fi: end: seq(A161339(n), n=1..60); # _Nathaniel Johnston_, May 06 2011 %Y A161339 Cf. A000005, A000720, A018253, A160811, A160812, A161205. %K A161339 easy,nonn %O A161339 1,2 %A A161339 _Omar E. Pol_, Jun 19 2009