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!)
A320423 Number of set partitions of {1,...,n} where each block's elements are pairwise coprime. 8
1, 1, 1, 2, 2, 8, 4, 28, 18, 120, 60, 888, 252, 5220, 1860, 22224, 9552, 311088, 59616 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
Two or more numbers are pairwise coprime if no pair of them has a common divisor > 1. A single number is not considered to be pairwise coprime unless it is equal to 1.
LINKS
EXAMPLE
The a(5) = 8 set partitions:
{{1},{2,3},{4,5}}
{{1},{2,5},{3,4}}
{{1,2},{3,4,5}}
{{1,4},{2,3,5}}
{{1,2,3},{4,5}}
{{1,2,5},{3,4}}
{{1,3,4},{2,5}}
{{1,4,5},{2,3}}
MATHEMATICA
spsu[_, {}]:={{}}; spsu[foo_, set:{i_, ___}]:=Join@@Function[s, Prepend[#, s]&/@spsu[Select[foo, Complement[#, Complement[set, s]]=={}&], Complement[set, s]]]/@Cases[foo, {i, ___}];
Table[Length[spsu[Select[Subsets[Range[n]], CoprimeQ@@#&], Range[n]]], {n, 10}]
CROSSREFS
Sequence in context: A337944 A103839 A135727 * A274449 A333711 A075101
KEYWORD
nonn,more
AUTHOR
Gus Wiseman, Jan 08 2019
EXTENSIONS
a(17)-a(18) from Alois P. Heinz, Jan 17 2019
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 April 19 12:14 EDT 2024. Contains 371792 sequences. (Running on oeis4.)