The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A322053 Number of decimal strings of length n that contain a specific string xx (where x is a single digit). 2
0, 1, 19, 280, 3691, 45739, 544870, 6315481, 71743159, 802527760, 8868438271, 97038694279, 1053164192950, 11351825985061, 121644911602099, 1296970638284440, 13767539948978851, 145580595285369619, 1534133217109136230, 16117424311550552641 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
See A322054 for the number that do not contain the specified string.
LINKS
FORMULA
G.f. = x^2/((1-10*x)*(1-9*x-9*x^2)).
EXAMPLE
Suppose the desired string is 00. At length 2 that is the only possibility. At length 3 there are 19 strings that contain it: 000, 00d, and d00, where d is any nonzero digit.
CROSSREFS
Suggested by A322628.
Sequence in context: A016184 A197742 A322628 * A328916 A081045 A155017
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Dec 21 2018
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 May 13 03:04 EDT 2024. Contains 372497 sequences. (Running on oeis4.)