Hmm, looking further into set partitions more strange things
show up. Let us say a set partition is a fundamental notion
in combinatorics (and it goes, as Knuth describes, under many
different names in all sorts of sciences and art, 'coalitions',
'cache-hit patterns', 'rhyme schemes', 'equivalence classes' etc.
So we can expect that the most elementary ways to count these
entities are in the OEIS? Sure... Well, if I am right, this is
not case.
First let us look up the definition as given by an authority.
These are the links from OEIS A000110:
INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 15
INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 65
INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 73
INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 291
For me these links are broken; at least they do not work as
intended. On the search page
http://algo.inria.fr/ecs/?doc=1
we see:
ECSnumber =
searchType =
searchTerms =
nbResults =
Again things are broken for me: The ECSnumber does not work.
However this might work:
ECSnumber = 0
searchType = 1
searchTerms = ESCnumber
nbResults = 10
In our case the ESCnumber is one out of 15,65,73,291.
Even then the amount of information you see can depend on
the browser (or on the weather conditions?, I do not know).
Let's come back to more serious observations. With the
definitions of IAP (the approach taken goes back to the work of
Philippe Flajolet,
http://algo.inria.fr/flajolet/ , we can
compute with Maple:
with(combstruct):
seq(count([B,{B=Set(Set(Z,card>=1))},labelled],size=n),n=1..9);
1, 2, 5, 15, 52, 203, 877, 4140, 21147, OEIS A000110
as expected. So what is the most natural thing to do next?
seq(count([B,{B=Set(Set(Z,card>=k))},labelled],size=n),n=1..9);
with 1<=k<=n, isn't it? So let's do it:
for n from 1 to 11 do
seq(count([B,{B=Set(Set(Z,card>=k))},labelled],size=n),k=1..n) od;
1
2, 1
5, 1, 1
15, 4, 1, 1
52, 11, 1, 1, 1
203, 41, 11, 1, 1, 1
877, 162, 36, 1, 1, 1, 1
4140, 715, 92, 36, 1, 1, 1, 1
21147, 3425, 491, 127, 1, 1, 1, 1, 1
115975, 17722, 2557, 337, 127, 1, 1, 1, 1, 1
678570, 98253, 11353, 793, 463, 1, 1, 1, 1, 1, 1
Sure I expected this triangle in OEIS. Can you find it?
Next let's us look at
for n from 1 to 11 do
seq(count([B,{B=Set(Set(Z,card=k))},labelled],size=n),k=1..n) od;
1
1, 1
1, 0, 1
1, 3, 0, 1
1, 0, 0, 0, 1
1, 15, 10, 0, 0, 1
1, 0, 0, 0, 0, 0, 1
1, 105, 0, 35, 0, 0, 0, 1
1, 0, 280, 0, 0, 0, 0, 0, 1
1, 945, 0, 0, 126, 0, 0, 0, 0, 1
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1
Again, not in OEIS. Perhaps to many zeros for OEIS?
At last these two sequences are in OEIS:
seq(count([B,{B=Set(Set(Z,card>=2))},labelled],size=n),n=1..11);
seq(count([B,{B=Set(Set(Z,card=2))},labelled],size=2*n),n=1..11);
Aha, I see the pattern. Let's try it:
seq(count([B,{B=Set(Set(Z,card>=3))},labelled],size=n),n=1..11);
This time the sequence is /twice/ in OEIS: A005000 and A006505.
Well, the first with offset 1 the second with offset 0.
If this policy is generalized we can have a big party:
The 200K_E-Party and the 300K_E-Party on the same day,
actually tonight.
http://oeis.org/wiki/OEIS_100K_E-Party_%28Page_1%29
Let's us see what the editors will say. I brought this issue
to their attention.
Though I definitely go to a party tonight :)
Cheers, Peter