login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A168099 a(n) = number of natural numbers m such that n - 9 <= m <= n + 9. 0
9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

Generalization: If a(n,k) = number of natural numbers m such that n - k <= m <= n + k (k >= 1) then a(n,k) = a(n-1,k) + 1 = n + k for 0 <= n <= k, a(n,k) = a(n-1,k) = 2k + 1 for n >= k + 1 (see, e.g., A158799). a(n) = 9 + n for 0 <= n <= 9, a(n) = 19 for n >= 10.

LINKS

Table of n, a(n) for n=0..72.

FORMULA

G.f.: (9 - 8*x - x^11)/(1 - x)^2. - G. C. Greubel, Jul 12 2016

MATHEMATICA

CoefficientList[Series[(9 - 8*x - x^11)/(1 - x)^2, {x, 0, 25}], x] (* G. C. Greubel, Jul 12 2016 *)

CROSSREFS

Sequence in context: A240919 A078548 A095777 * A004498 A171892 A020723

Adjacent sequences:  A168096 A168097 A168098 * A168100 A168101 A168102

KEYWORD

nonn

AUTHOR

Jaroslav Krizek, Nov 18 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 12 08:23 EDT 2020. Contains 335657 sequences. (Running on oeis4.)