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.

A014848 a(n) = n^2 - floor( n/2 ).

Original entry on oeis.org

0, 1, 3, 8, 14, 23, 33, 46, 60, 77, 95, 116, 138, 163, 189, 218, 248, 281, 315, 352, 390, 431, 473, 518, 564, 613, 663, 716, 770, 827, 885, 946, 1008, 1073, 1139, 1208, 1278, 1351, 1425, 1502, 1580, 1661, 1743, 1828, 1914, 2003, 2093, 2186, 2280, 2377, 2475
Offset: 0

Views

Author

Keywords

Comments

Quasipolynomial of order 2. - Charles R Greathouse IV, Jan 19 2012
The binomial transform is 0, 1, 5, 20,... which is A084850 with offset 1. - R. J. Mathar, Nov 26 2014

Crossrefs

Cf. A033951, A033991, A042963 (first differences), A084850.

Programs

Formula

a(2*n) = A033991(n).
a(2*n+1) = A033951(n).
G.f.: x*(1+x+2*x^2)/((1-x)^2*(1-x^2)).
a(n) = (2*n*(2*n-1) + 1 - (-1)^n)/4. - Bruno Berselli, Feb 17 2011
a(n) = round(n/(exp(1/n) - 1)), n > 0. - Richard R. Forberg, Nov 14 2014
E.g.f.: (1/4)*((1 + 2*x + 4*x^2)*exp(x) - exp(-x)). - G. C. Greubel, Mar 14 2024