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.

A194170 Partial sums of A194169.

This page as a plain text file.
%I A194170 #9 Nov 12 2017 02:52:10
%S A194170 0,0,1,3,5,7,10,14,18,22,27,33,39,45,52,60,68,76,84,93,103,113,124,
%T A194170 135,147,159,172,185,199,213,228,243,259,275,291,308,325,343,362,381,
%U A194170 401,422,443,464,486,509,532,555,579,603,628,653,678,704,731,758
%N A194170 Partial sums of A194169.
%H A194170 G. C. Greubel, <a href="/A194170/b194170.txt">Table of n, a(n) for n = 1..1000</a>
%t A194170 r = Sqrt[5];
%t A194170 a[n_] := Floor[Sum[FractionalPart[k*r], {k, 1, n}]]
%t A194170 Table[a[n], {n, 1, 90}]   (* A194169 *)
%t A194170 s[n_] := Sum[a[k], {k, 1, n}]
%t A194170 Table[s[n], {n, 1, 100}]  (* A194170 *)
%Y A194170 Cf. A194169.
%K A194170 nonn
%O A194170 1,4
%A A194170 _Clark Kimberling_, Aug 18 2011