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!)
A354458 Number of commuting pairs of equivalence relations on [n]. 0
1, 1, 4, 19, 117, 864, 7459, 73749, 818960, 10078023 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
More precisely, a(n) is the number of ordered pairs (S,T) of equivalence relations on [n] such that S*T=T*S where the operation * is composition of relations. The composition of equivalence relations is not generally an equivalence relation. S*T=T*S if and only if S*T is the smallest equivalence relation that contains both S and T.
LINKS
EXAMPLE
Let S = 1/24/3 and T = 13/2/4 be equivalence relations on [4]. Then S*T = T*S = 13/24 so (S,T) is an example of a commuting pair of equivalence relations (as well as (T,S) ).
MATHEMATICA
Needs["Combinatorica`"]; f[partition_] := Normal[SparseArray[ Level[Map[Tuples[#, 2] &, partition], {2}] -> 1]]; Table[er = Map[f, SetPartitions[n]]; Length[Level[
Table[Select[er, Clip[er[[i]].#] == Clip[#.er[[i]]] &], {i, 1, Length[er]}], {2}]], {n, 0, 8}]
CROSSREFS
Sequence in context: A247056 A163859 A197660 * A361532 A094822 A280939
KEYWORD
nonn,more
AUTHOR
Geoffrey Critzer, May 30 2022
EXTENSIONS
a(9) from Vaclav Kotesovec, May 31 2022
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 June 4 08:19 EDT 2024. Contains 373092 sequences. (Running on oeis4.)