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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A102866 Number of finite languages over a binary alphabet (set of binary words of total length n). 2
1, 2, 5, 16, 42, 116, 310, 816, 2121, 5466, 13937, 35248, 88494, 220644, 546778, 1347344, 3302780, 8057344, 19568892, 47329264, 114025786, 273709732, 654765342, 1561257968, 3711373005, 8797021714, 20794198581, 49024480880 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

Analogous to A034899 (which also enumerates multisets of words)

REFERENCES

Stefan Gerhold, Counting finite languages by total word length, INTEGERS 11 (2011), #A44; http://www.emis.de/journals/INTEGERS/papers/l44/l44.pdf.

LINKS

Alois P. Heinz, Table of n, a(n) for n = 0..900

P. Flajolet and R. Sedgewick, Analytic Combinatorics, 2009; see page 64

FORMULA

GF: exp(Sum((-1)^(j-1)/j*(2*z^j)/(1-2*z^j), j=1..infinity)):

EXAMPLE

a(2)=5 because the sets are {a,b}, {aa}, {ab}, {ba}, {bb};

a(3)=16 because the sets are {a,aa}, {a,ab}, {a,ba}, {a,bb}, {b,aa}, {b,ab}, {b,ba}, {b,bb}, {aaa}, {aab}, {aba}, {abb}, {baa}, {bab}, {bba}, {bbb}

MAPLE

series(exp(add((-1)^(j-1)/j*(2*z^j)/(1-2*z^j), j=1..40)), z, 40);

CROSSREFS

Cf. A034899.

Sequence in context: A188947 A076958 A163825 * A148368 A148369 A148370

Adjacent sequences:  A102863 A102864 A102865 * A102867 A102868 A102869

KEYWORD

nonn

AUTHOR

Philippe Flajolet (Philippe.Flajolet(AT)inria.fr), Mar 01 2005

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 17 16:13 EST 2012. Contains 206050 sequences.