Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #9 Nov 12 2017 02:52:06
%S 0,0,1,3,5,7,10,14,18,22,27,33,39,45,52,60,68,76,85,94,104,115,126,
%T 138,150,162,175,188,202,217,232,248,264,280,297,314,332,350,369,388,
%U 408,429,450,471,493,516,539,562,586,610,635,660,686,712,739,767
%N Partial sums of A194165.
%H G. C. Greubel, <a href="/A194166/b194166.txt">Table of n, a(n) for n = 1..1000</a>
%t r = GoldenRatio;
%t a[n_] := Floor[Sum[FractionalPart[k*r], {k, 1, n}]]
%t Table[a[n], {n, 1, 90}] (* A194165 *)
%t s[n_] := Sum[a[k], {k, 1, n}]
%t Table[s[n], {n, 1, 100}] (* A194166 *)
%Y Cf. A194165.
%K nonn
%O 1,4
%A _Clark Kimberling_, Aug 18 2011