login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A177041 Sum(round(k^2/n),k=1..n). 1
1, 3, 4, 7, 11, 16, 20, 26, 31, 39, 44, 53, 63, 74, 82, 94, 105, 119, 128, 141, 157, 174, 188, 204, 221, 239, 254, 275, 295, 318, 336, 360, 377, 403, 422, 447, 475, 502, 526, 554, 581, 611, 636, 665, 697, 732, 760, 794, 825, 861 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

The round function, also called the nearest integer function, is defined here by round(x)=floor(x+1/2).

LINKS

Table of n, a(n) for n=1..50.

Mircea Merca, Inequalities and Identities Involving Sums of Integer Functions J. Integer Sequences, Vol. 14 (2011), Article 11.9.1.

MAPLE

seq(sum(round(i^2/n), i = 1 .. n), n = 1 .. 50)

MATHEMATICA

Table[Sum[Floor[k^2/n + 1/2], {k, n}], {n, 50}]

PROG

(MAGMA) [&+[Round(k^2/n): k in [1..n]]: n in [1..50]];  // Bruno Berselli, Apr 28 2011

CROSSREFS

Sequence in context: A027022 A120365 A166375 * A060962 A069950 A147869

Adjacent sequences:  A177038 A177039 A177040 * A177042 A177043 A177044

KEYWORD

nonn

AUTHOR

Mircea Merca, Dec 09 2010

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 19 15:07 EDT 2013. Contains 225432 sequences.