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