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