Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A022554
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A022554 Sum [ sqrt(k) ], k=0..n. +0
1
0, 1, 2, 3, 5, 7, 9, 11, 13, 16, 19, 22, 25, 28, 31, 34, 38, 42, 46, 50, 54, 58, 62, 66, 70, 75, 80, 85, 90, 95, 100, 105, 110, 115, 120, 125, 131, 137, 143, 149, 155, 161, 167, 173, 179, 185, 191, 197, 203, 210, 217, 224, 231, 238, 245, 252, 259, 266, 273, 280 (list; graph; listen)
OFFSET

0,3

REFERENCES

D.E. Knuth, The art of programming, Vol. 1, 3rd Edition, Addison-Wesley, 1997, Ex. 43 of section 1.2.4.

M. Griffiths, More sums involving the floor function, Math. Gaz., 86 (2002), 285-287.

FORMULA

a(0)=0, a(1)=1; a(n) = 2 a(n-1) - a(n-2) if n is not a perfect square; a(n) = 2 a(n-1) - a(n-2) + 1 if n is a perfect square.

a(n) = floor(sqrt(n)) * (n-1/6*(2*floor(sqrt(n))+5)*(floor(sqrt(n))-1)) - Yong Kong (ykong(AT)curagen.com), Mar 10 2001

MAPLE

Sum(floor(sqrt(k)), k=0..n)

CROSSREFS

Adjacent sequences: A022551 A022552 A022553 this_sequence A022555 A022556 A022557

Sequence in context: A129895 A096149 A033055 this_sequence A097046 A011861 A065520

KEYWORD

nonn,easy

AUTHOR

Michel Tixier (tixier(AT)dyadel.net)

EXTENSIONS

More terms from Yong Kong (ykong(AT)curagen.com), Mar 10 2001

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 7 16:45 EST 2009. Contains 166093 sequences.


AT&T Labs Research