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.

A056829 Nearest integer to n^2/6.

Original entry on oeis.org

0, 0, 1, 2, 3, 4, 6, 8, 11, 14, 17, 20, 24, 28, 33, 38, 43, 48, 54, 60, 67, 74, 81, 88, 96, 104, 113, 122, 131, 140, 150, 160, 171, 182, 193, 204, 216, 228, 241, 254, 267, 280, 294, 308, 323, 338, 353, 368, 384, 400, 417, 434, 451, 468, 486, 504
Offset: 0

Views

Author

N. J. A. Sloane, Sep 02 2000

Keywords

Programs

  • Mathematica
    Round[Range[0,60]^2/6] (* or *) LinearRecurrence[{2,-1,0,0,0,1,-2,1},{0,0,1,2,3,4,6,8},60] (* Harvey P. Dale, Oct 11 2020 *)

Formula

G.f.: -x^2*(1+x^4) / ( (1+x)*(1+x+x^2)*(x^2-x+1)*(x-1)^3 ). - R. J. Mathar, Jul 10 2015
a(n) = A056827(n)+A088911(n+3). - R. J. Mathar, Jul 10 2015