A134119 a(n) = floor(n^2/10) - floor((n-1)^2/10).
0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 17, 17, 17
Offset: 0
Links
- G. C. Greubel, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,0,1,-1).
Programs
-
Mathematica
Table[Floor[n^2/10] - Floor[(n - 1)^2/10], {n, 0, 50}] (* G. C. Greubel, Feb 22 2017 *)
-
PARI
a(n)= floor(n^2/10) - floor((n-1)^2/10)
Formula
Empirical g.f.: x^4*(x^4+1) / (x^11 - x^10 - x + 1). - Colin Barker, Aug 08 2013
The above conjectured g.f. is correct. - Sela Fried, Dec 08 2024
Extensions
More terms from N. J. A. Sloane, Jan 22 2008
Comments