cp's OEIS Frontend

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.

A194166 Partial sums of A194165.

This page as a plain text file.
%I A194166 #9 Nov 12 2017 02:52:06
%S A194166 0,0,1,3,5,7,10,14,18,22,27,33,39,45,52,60,68,76,85,94,104,115,126,
%T A194166 138,150,162,175,188,202,217,232,248,264,280,297,314,332,350,369,388,
%U A194166 408,429,450,471,493,516,539,562,586,610,635,660,686,712,739,767
%N A194166 Partial sums of A194165.
%H A194166 G. C. Greubel, <a href="/A194166/b194166.txt">Table of n, a(n) for n = 1..1000</a>
%t A194166 r = GoldenRatio;
%t A194166 a[n_] := Floor[Sum[FractionalPart[k*r], {k, 1, n}]]
%t A194166 Table[a[n], {n, 1, 90}]   (* A194165 *)
%t A194166 s[n_] := Sum[a[k], {k, 1, n}]
%t A194166 Table[s[n], {n, 1, 100}]  (* A194166 *)
%Y A194166 Cf. A194165.
%K A194166 nonn
%O A194166 1,4
%A A194166 _Clark Kimberling_, Aug 18 2011