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