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

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A174060 Sum_{k=1..n} {floor(sqrt(k))^2}. 0
0, 1, 2, 3, 7, 11, 15, 19, 23, 32, 41, 50, 59, 68, 77, 86, 102, 118, 134, 150, 166, 182, 198, 214, 230, 255, 280, 305, 330, 355, 380, 405, 430, 455, 480, 505, 541, 577, 613, 649, 685, 721, 757, 793, 829, 865, 901, 937, 973, 1022, 1071, 1120, 1169, 1218, 1267, 1316 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

Partial sums of A048760. - R. J. Mathar, Mar 31 2010

LINKS

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

FORMULA

a(n) = (1/6)*m*(6*m*n - (m+1)*(3*m^2+m-1)) with m = floor(sqrt(n)). - Yalcin Aktar, Jan 30 2012

MATHEMATICA

Accumulate[Table[Floor[Sqrt[k]]^2, {k, 0, 59}]] (* Harvey P. Dale, Jul 13 2013 *)

PROG

(PARI) a(n)=my(m=sqrtint(n)); n*m^2-m*(m+1)*(3*m^2+m-1)/6 \\ Charles R Greathouse IV, Jul 04 2013

CROSSREFS

Sequence in context: A040152 A323353 A188529 * A285278 A092353 A189374

Adjacent sequences:  A174057 A174058 A174059 * A174061 A174062 A174063

KEYWORD

nonn,easy

AUTHOR

Vladimir Joseph Stephan Orlovsky, Mar 06 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 20 11:11 EST 2020. Contains 331083 sequences. (Running on oeis4.)