A168095 a(n) = number of natural numbers m such that n - 5 <= m <= n + 5.
5, 6, 7, 8, 9, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (1).
Crossrefs
Cf. A000027.
Programs
-
Mathematica
CoefficientList[Series[(5 - 4*x - x^7)/(1 - x)^2, {x, 0, 25}], x] (* G. C. Greubel, Jul 12 2016 *)
Formula
a(n) = 5 + n for 0 <= n <= 5, a(n) = 11 for n >= 6.
G.f.: (5 - 4*x - x^7)/(1-x)^2. - G. C. Greubel, Jul 12 2016
Comments