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.

Showing 1-2 of 2 results.

A014817 a(n) = Sum_{k=1..n} floor(k^2/n).

Original entry on oeis.org

1, 2, 4, 7, 9, 13, 18, 24, 29, 34, 42, 51, 57, 67, 78, 90, 97, 110, 122, 137, 149, 163, 180, 198, 211, 226, 246, 265, 281, 303, 324, 348, 365, 386, 412, 439, 457, 483, 512, 540, 561, 590, 618, 651, 679, 709, 742
Offset: 1

Views

Author

Keywords

Examples

			Row sums of the underlying triangle of floor(k^2/n), 1<=k<=n:
1;
0,2;
0,1,3;
0,1,2,4;
0,0,1,3,5;
0,0,1,2,4,6;
0,0,1,2,3,5,7;
0,0,1,2,3,4,6,8;
0,0,1,1,2,4,5,7,9;
0,0,0,1,2,3,4,6,8,10;
- _R. J. Mathar_, Aug 09 2013
		

References

  • M. Eichler and D. Zagier, The Theory of Jacobi Forms, Birkhauser, 1985, p. 103.

Crossrefs

Programs

Formula

a(n) = n +A166375(n).
For prime p>2, a(p) = (p^2+2)/3 - A228131(p)/p. In particular, for prime p==1 (mod 4), a(p) = (p^2+2)/3. - Max Alekseyev, Aug 11 2013

A227842 First differences of A014817.

Original entry on oeis.org

1, 2, 3, 2, 4, 5, 6, 5, 5, 8, 9, 6, 10, 11, 12, 7, 13, 12, 15, 12, 14, 17, 18, 13, 15, 20, 19, 16, 22, 21, 24, 17, 21, 26, 27, 18, 26, 29, 28, 21, 29, 28, 33, 28, 30, 33, 36, 27, 31, 34, 35, 32, 38, 39, 40, 31, 37, 42, 45, 32, 44, 45, 46, 33, 45, 44, 49, 44, 46, 51, 52, 37, 49, 56, 49, 48, 54, 53, 60, 47
Offset: 1

Views

Author

N. J. A. Sloane, Aug 08 2013

Keywords

Crossrefs

Programs

Showing 1-2 of 2 results.