login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A183139 a(n) = [1/r]+[2/r]+...+[n/r], where r=sqrt(2) and []=floor. 2
0, 1, 3, 5, 8, 12, 16, 21, 27, 34, 41, 49, 58, 67, 77, 88, 100, 112, 125, 139, 153, 168, 184, 200, 217, 235, 254, 273, 293, 314, 335, 357, 380, 404, 428, 453, 479, 505, 532, 560, 588, 617, 647, 678, 709, 741, 774, 807, 841, 876 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
A183139 + A183140 = A000217 (the triangular numbers).
LINKS
FORMULA
a(n) = [1/r]+[2/r]+...+[n/r], where r=sqrt(2) and []=floor.
MATHEMATICA
Accumulate[Floor[Range[100]/(Sqrt[2])]] (* G. C. Greubel, Apr 10 2018 *)
PROG
(PARI) for(n=1, 100, print1(sum(k=1, n, floor(k/sqrt(2))), ", ")) \\ G. C. Greubel, Apr 10 2018
(Magma) [(&+[Floor(k/Sqrt(2)):k in [1..n]]): n in [1..100]]; // G. C. Greubel, Apr 10 2018
CROSSREFS
Sequence in context: A371702 A194180 A000212 * A094913 A265060 A320849
KEYWORD
nonn
AUTHOR
Clark Kimberling, Dec 26 2010
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)