login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A056829
Nearest integer to n^2/6.
3
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,4
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
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 *)
CROSSREFS
Sequence in context: A102463 A242110 A371069 * A211536 A071764 A238381
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Sep 02 2000
STATUS
approved