login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A083704 a(n)=sum(k=1,n,floor(r*floor(k/r))) where r=sqrt(3). 1
0, 0, 1, 2, 5, 8, 13, 19, 25, 33, 41, 51, 61, 73, 86, 99, 114, 129, 146, 163, 182, 202, 222, 244, 266, 290, 315, 340, 367, 394, 423, 452, 483, 515, 547, 581, 615, 651, 687, 725, 764, 803, 844, 885, 928, 971, 1016, 1062, 1108, 1156, 1204, 1254, 1305, 1356, 1409 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

COMMENTS

More generally if r is irrational 1<r<2 then sum(k=1,n,floor(r*floor(k/r))) = n(n-3)/2 + ceiling(n/r)

LINKS

Table of n, a(n) for n=0..54.

FORMULA

a(n) = n(n-3)/2 + ceiling(n/sqrt(3))

CROSSREFS

Sequence in context: A289751 A200274 A122221 * A111097 A027916 A054254

Adjacent sequences:  A083701 A083702 A083703 * A083705 A083706 A083707

KEYWORD

nonn

AUTHOR

Benoit Cloitre, Jun 15 2003

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 25 19:09 EST 2020. Contains 331249 sequences. (Running on oeis4.)