A056864 Nearest integer to n^2/10.
0, 0, 0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 14, 17, 20, 23, 26, 29, 32, 36, 40, 44, 48, 53, 58, 63, 68, 73, 78, 84, 90, 96, 102, 109, 116, 123, 130, 137, 144, 152, 160, 168, 176, 185, 194, 203, 212, 221, 230, 240, 250, 260, 270, 281, 292, 303, 314, 325
Offset: 0
Keywords
Links
- Ray Chandler, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (2,-1,0,0,0,0,0,0,0,1,-2,1).
Crossrefs
Cf. A056865.
Programs
-
Maple
A056864 := proc(n) floor(n^2/10+1/2) ; end proc: seq(A056864(n),n=0..100) ; # R. J. Mathar, Mar 08 2016
-
Mathematica
Table[Floor[n^2/10+1/2],{n,0,100}] (* Harvey P. Dale, Nov 01 2020 *)
-
PARI
a(n) = round(n^2/10); \\ Michel Marcus, Mar 08 2016
Formula
G.f.: -x^3*(1+x^2)*(x^4-x^2+1) / ( (1+x) *(x^4-x^3+x^2-x+1) *(x^4+x^3+x^2+x+1) *(x-1)^3 ). - R. J. Mathar, Mar 08 2016