cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A025224 a(n) = floor(Sum_{k=1..n} sqrt(k)).

Original entry on oeis.org

0, 1, 2, 4, 6, 8, 10, 13, 16, 19, 22, 25, 29, 32, 36, 40, 44, 48, 52, 57, 61, 66, 70, 75, 80, 85, 90, 95, 101, 106, 112, 117, 123, 129, 134, 140, 146, 152, 159, 165, 171, 178, 184, 191, 197, 204, 211, 218, 224, 231, 239, 246, 253, 260, 268, 275, 282, 290, 298, 305, 313, 321, 329, 337
Offset: 0

Views

Author

Keywords

Comments

Shekatkar took Ramanujan's formula for sum of the square roots of first n natural numbers, and generalized to include r-th roots where r is any real number greater than 1, using simple properties of Riemann integrable functions. - Jonathan Vos Post, Apr 05 2012

Crossrefs

Programs

Formula

a(n) ~= floor ((4n + 3)sqrt(n)/6 - exp(-Pi / 2)). - Charles R Greathouse IV, Jul 29 2007. Corrected by Carl R. White, Jan 22 2009