Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A194164
Partial sums of A194163.
3
0, 1, 2, 4, 6, 9, 12, 16, 20, 25, 30, 36, 42, 48, 55, 63, 72, 81, 91, 101, 112, 123, 135, 147, 159, 171, 184, 198, 212, 227, 243, 259, 275, 292, 310, 328, 346, 365, 384, 404, 424, 445, 466, 487, 509, 532, 555, 578, 602, 627, 652, 677, 703, 730, 757, 785
OFFSET
1,3
LINKS
MATHEMATICA
r = Sqrt[3];
a[n_] := Floor[Sum[FractionalPart[k*r], {k, 1, n}]]
Table[a[n], {n, 1, 90}] (* A194163 *)
s[n_] := Sum[a[k], {k, 1, n}]
Table[s[n], {n, 1, 100}] (* A194164 *)
PROG
(PARI) for(n=1, 50, print1(sum(j=1, n, floor(sum(k=1, j, frac(k*sqrt(3))))), ", ")) \\ G. C. Greubel, Oct 29 2017
CROSSREFS
Cf. A194163.
Sequence in context: A194174 A168048 A075354 * A194254 A086378 A088900
KEYWORD
nonn
AUTHOR
Clark Kimberling, Aug 18 2011
STATUS
approved