login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A255377 Number of strings of n decimal digits that contain at least one string of exactly 7 consecutive "0" digits. 4
0, 0, 0, 0, 0, 0, 0, 1, 18, 261, 3420, 42300, 504000, 5850000, 66600000, 746999991, 8279999757, 90899995383, 989999925399, 10709998904070, 115199984885400, 1232999800740000, 13139997460650000, 139499968482900081, 1475999617032002916, 15569995426740068526 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,9
LINKS
Index entries for linear recurrences with constant coefficients, signature (20,-100,0,0,0,0,0,-9,99,-90).
FORMULA
a(0) = a(1) = ... = a(6) = 0, a(7) = 1, a(n) = 9*(10^(n-8) - a(n-8) + sum_{i=7..n-1} a(i)) for n>=8.
G.f.: x^7*(x-1)^2/((10*x-1)*(9*x^9-9*x^8+10*x-1)). - Alois P. Heinz, Feb 26 2015
CROSSREFS
Cf. A255371-A255376 (for the k=1 through k=6 cases of "exactly k consecutive '0' digits"), A255378-A255380 (for the cases k=8 through k=10).
Sequence in context: A255374 A255375 A255376 * A255378 A255379 A255380
KEYWORD
nonn,base,easy
AUTHOR
Jon E. Schoenfield, Feb 22 2015
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)