[go: up one dir, main page]

login
A194180
Partial sums of A194179.
2
0, 0, 1, 3, 5, 8, 12, 16, 21, 27, 33, 40, 47, 55, 64, 73, 83, 94, 105, 116, 128, 141, 154, 168, 182, 197, 213, 229, 245, 262, 279, 297, 316, 335, 354, 374, 394, 415, 437, 459, 481, 504, 527, 551, 575, 600, 625, 651, 677, 703, 730, 757, 784, 812, 840
OFFSET
1,4
MATHEMATICA
r = 1/2+Sqrt[8];
a[n_] := Floor[Sum[FractionalPart[k*r], {k, 1, n}]]
Table[a[n], {n, 1, 90}] (* A194179 *)
s[n_] := Sum[a[k], {k, 1, n}]
Table[s[n], {n, 1, 100}] (* A194180 *)
CROSSREFS
Cf. A194178.
Sequence in context: A194176 A186494 A371702 * A000212 A183139 A094913
KEYWORD
nonn
AUTHOR
Clark Kimberling, Aug 18 2011
STATUS
approved