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

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

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 December 4 19:40 EST 2021. Contains 349526 sequences. (Running on oeis4.)