OFFSET
0,3
COMMENTS
Consider a set N={1,2,3,...n}. We can apply the operation S~(N) on N which gives us the set partitions S~(N)=SP(N) of N. Let denote SP_i(N) such a set partition, then SP(N)={SP_1(N), SP_2(N)...,SP_B(n)} (There are B(n) set partitions of N with B(n) as the Bell number). Observe that in each SP(N) we have SP(1)={{1,2,3,...,n}} and SP(B(n))={{1},{2},{3},...,{n}} and their magnitudes are |SP(1)|=1 and |SP(B(n)|=n.
Now we perform an iteration on the set partitions SP_i(N). We set partition each SP_i(N), thus we perform S~(SP_i(N), but we exclude SP(1)={{1,2,3,...,n}} and SP(B(n))={{1},{2},{3},...,{n}} from this repetition. Otherwise an infinite recursion arises. Thus if 1 < |SP_i(N)|=m < n, then we apply S~ on SP_i(N) again and get S~(SP_i(N))= SP(SP_i(N))={SP_1(SP_i(N)),...,SP_B(m)(SP_i(N))}. We repeat this partition operation S~ on every set partition we encounter. Let denote U_k a subset of SP_i(X) were X is a set. X may be any of the subsequent set partitions. Since |U_k| < X (under the condition above on m) the repeated application of S~ will end in set partitions SP(X) with |SP(X)| = 1.
Let us consider the example N={1,2,3}. The S~(N) gives us {{1,2,3}}, {{1,2},{3}}, {{1,3},{2}}, {{2,3},{13}} and {{1},{2},{1}}. We exclude {{1,2,3}} and {{1},{2},{1}} from further partitioning. From {{1,2},{3}} we get {{{1,2},{3}}} and {{{1,2}},{{3}}}. Consider the last two partitions. They correspond to N'={1',2'} and are thus {{1',2'}} and {{1'},{2'}}. Since |{{1',2'}}|=1 and |{{1'},{2'}}|=2 these last two set partitions cannot be partitioned any further according to our condition above. In total we get {{1,2,3}}, {{1,2},{3}}, {{1,3},{2}}, {{2,3},{1}}, {{{1,2},{3}}}, {{{1,2}},{{3}}}, {{{1,3},{2}}}, {{{1,3}},{{2}}}, {{{2,3},{1}}}, {{{2,3}},{{1}}}, {{1},{2},{3}} and we have a(3)=11.
A possible application are the number of coalitions among the set N={1,2,...,n} of n persons. These persons will split into parties = subsets U_k of N. Then coalitions will form among these parties, thus we encounter sets of subsets. It is even possible that coalitions form coalitions in turn. We thus define a coalition structure as a set of repeated set partitions. For example if n=6 we could have {{1,2},{3}},{{4,5,6}}, the parties {1,2} and {3} form the coalition {{1,2},{3}}. Since {{456}}={4,5,6} one might not want to consider a single set as a coalition, but formally it is possible to do so. However, if in the example all three parties are patriotic, they may stand together in questions of national interest and the coalition structure would be {{{1,2},{3}},{{4,5,6}}}.
However, in my opinion, the usual definition of a coalition as a partition of a set falls too short.
See also A005121 = Ultradissimilarity relations on an n-set. The paper "On the Asymptotic Analysis of a Class of Linear Recurrences" (by Thomas Prellberg) outlines how to find an asymptotic formula for A005121. Perhaps this method is applicable to the present sequence as well, but one needs to have the generating function as starting point.
REFERENCES
S. R. Finch, Mathematical Constants, Cambridge, 2003, p. 319 and 556.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..261
Thomas Prellberg, On the Asymptotic Analysis of a Class of Linear Recurrences, Algorithms Seminar 2002-2004, F. Chyzak (ed.), INRIA, (2005), pp. 47-50.
Thomas Wieder, Visual Basic Program.
FORMULA
Recurrence: a(n) = Bell(n) + Sum_{i=2..n-1} S2(n,i)*a(i). E.g.: a(n=4) = Bell(4) + S2(4,2) a(2) + S2(4,3) a(3) = 15+2+7*2+6*11 = 95. "closed" formula: a(n=4) = Bell(n=4) + Sum_{i1=2..(n=4)-1} Bell(i1) + S2(n,i1)*Sum_{i2=2..i1-1} Bell(i2) + S2(i1,i2)*Sum_{i3=2..i2-1} Bell(i3) + S2(i2,i3)*Sum_{i4=2..i3-1} Stirling2(i3,i4).
a(n) ~ 3 * L * (n!)^2 / (n^(1+log(2)/3) * (2*log(2))^n), where L = Lengyel's constant A086053 = 1.0986858055... . - Vaclav Kotesovec, Sep 04 2014
EXAMPLE
a(3)=11 because we have
{{1,2,3}},
{{1,2},{3}},
{{1,3},{2}},
{{2,3},{1}},
{{{1,2},{3}}},
{{{1,2}},{{3}}},
{{{1,3},{2}}},
{{{1,3}},{{2}}},
{{{2,3},{1}}},
{{{2,3}},{{1}}},
{{1},{2},{3}}.
MAPLE
rctlnn := proc(n::nonnegint) # Thanks to Joe Riel, who suggested the use of # "procname" instead of "rctlnn" within the program.
local j; option remember; if n = 0 then 1; else bell(n)+add(stirling2(n, j)*procname(j), j=2..n-1); end if; end proc:
# second Maple program:
a:= proc(n) option remember; uses combinat;
bell(n) + add(stirling2(n, i)*a(i), i=2..n-1)
end:
seq(a(n), n=0..20); # Alois P. Heinz, Apr 05 2012
MATHEMATICA
a[n_] := a[n] = If[n<2, 1, BellB[n] + Sum[StirlingS2[n, i]*a[i], {i, 2, n-1}]]; Table[a[n], {n, 0, 20}] (* Jean-François Alcover, Jul 15 2015, after Alois P. Heinz *)
PROG
(Visual Basic) ' See Wieder link.
CROSSREFS
KEYWORD
nonn
AUTHOR
Thomas Wieder, Jul 09 2007, Jul 20 2007
EXTENSIONS
a(0)=1 prepended by Alois P. Heinz, Sep 02 2020
STATUS
approved