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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A022543 Number of unique 'failure tables' for a string of length n. 1
1, 2, 4, 9, 20, 47, 110, 263, 630, 1525, 3701, 9039, 22140, 54460, 134339, 332439, 824735, 2051307 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

REFERENCES

Knuth-Morris-Pratt pattern matching algorithm.

LINKS

Dennis Moore, W. F. Smyth and Dianne Miller, Counting distinct strings, Algorithmica, Vol. 23 (1999), 1-13.

EXAMPLE

For example a string of length 3 can have one of the following 4 'failure tables': 012, 001, 010, 000.

CROSSREFS

Sequence in context: A039808 A138164 A130802 * A036618 A003018 A196244

Adjacent sequences:  A022540 A022541 A022542 * A022544 A022545 A022546

KEYWORD

nonn,nice

AUTHOR

Dianne Miller (millerdm(AT)mcmaster.ca)

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 06:27 EST 2012. Contains 205860 sequences.