login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A016186 Expansion of 1/((1-8x)(1-10x)). 5
1, 18, 244, 2952, 33616, 368928, 3951424, 41611392, 432891136, 4463129088, 45705032704, 465640261632, 4725122093056, 47800976744448, 482407813955584, 4859262511644672, 48874100093157376, 490992800745259008 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

a(n) is the number of strings of n+1 decimal digits having an odd number of 0's. For 2 digits these are for example the 18 strings 01, 02, 03, ..., 09, 10, 20, 30, ..., 90. - Geoffrey Critzer, Jan 24 2011

LINKS

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

Index entries for linear recurrences with constant coefficients, signature (18,-80).

FORMULA

a(n) = 5*10^n - 4*8^n = A081203(n+1). Binomial transform of A081035. - R. J. Mathar, Sep 18 2008

a(n) = 8*a(n-1) + 10^(n-1). - Geoffrey Critzer, Jan 24 2011

E.g.f.: exp(9*x)*sinh(x). - Geoffrey Critzer, Jan 24 2011

A060531(n) = a(n) - 9*a(n-1). - R. J. Mathar_, Jan 27 2011

a(n) = 10*a(n-1) + 8^n, a(0)=1. - Vincenzo Librandi, Feb 09 2011

a(n) = 18*a(n-1) - 80*a(n-2), a(0)=1, a(1)=18. - Vincenzo Librandi, Feb 09 2011

MATHEMATICA

Range[0, 20]! CoefficientList[Series[Exp[9 x] Sinh[x], {x, 0, 20}], x]

Join[{a=1, b=18}, Table[c=18*b-80*a; a=b; b=c, {n, 40}]] (* Vladimir Joseph Stephan Orlovsky, Feb 09 2011 *)

LinearRecurrence[{18, -80}, {1, 18}, 30] (* Harvey P. Dale, Aug 26 2019 *)

PROG

(PARI) Vec(1/((1-8*x)*(1-10*x))+O(x^99)) \\ Charles R Greathouse IV, Sep 24 2012

CROSSREFS

Cf. A060531.

Sequence in context: A080629 A053540 A080601 * A081203 A016294 A153593

Adjacent sequences:  A016183 A016184 A016185 * A016187 A016188 A016189

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane

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 September 16 10:23 EDT 2019. Contains 327094 sequences. (Running on oeis4.)