cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-4 of 4 results.

A318128 Number of set-systems (finite sets of finite nonempty sets) with union {1,2,...,n} and intersection {}.

Original entry on oeis.org

1, 0, 2, 84, 31478, 2147000136, 9223371998203475474, 170141183460469231537996491257596836636, 57896044618658097711785492504343953922551603929769020459976077632195066756398
Offset: 0

Views

Author

Gus Wiseman, Aug 18 2018

Keywords

Examples

			The a(2) = 2 set-systems are {{1},{2}}, and {{1},{2},{1,2}}.
		

Crossrefs

Programs

  • Mathematica
    Table[Length[Select[Subsets[Rest[Subsets[Range[n]]]],And[Union@@#===Range[n],Intersection@@#=={}]&]],{n,4}]

Formula

Inverse binomial transform of A318129.

A318129 Number of sets of nonempty subsets of {1,...,n} with intersection {}.

Original entry on oeis.org

1, 1, 3, 91, 31827, 2147158387, 9223372011085950171, 170141183460469231602560095290109272523, 57896044618658097711785492504343953923912733397452774312538303978325772978595
Offset: 0

Views

Author

Gus Wiseman, Aug 18 2018

Keywords

Examples

			The a(2) = 3 sets of sets are {}, {{1},{2}}, {{1},{2},{1,2}}.
		

Crossrefs

Programs

  • Mathematica
    Table[Length[Select[Subsets[Rest[Subsets[Range[n]]]],Or[#=={},Intersection@@#=={}]&]],{n,0,4}]

Formula

Binomial transform of A318128.
a(n) = A318130(n) - 2^(2^n - 1). [corrected]

A318131 Number of non-isomorphic sets of finite (possibly empty) sets with union {1,2,...,n} and intersection {}.

Original entry on oeis.org

1, 1, 6, 60, 3836, 37325360, 25626412263611792, 67516342973185974276922865448446208, 2871827610052485009904013737758920847534777143951264797898686184985092096
Offset: 0

Views

Author

Gus Wiseman, Aug 18 2018

Keywords

Examples

			Non-isomorphic representatives of the a(2) = 6 sets of sets:
  {{1},{2}}
  {{},{1,2}}
  {{},{1},{2}}
  {{},{1},{1,2}}
  {{1},{2},{1,2}}
  {{},{1},{2},{1,2}}
		

Crossrefs

Programs

  • Mathematica
    sysnorm[m_]:=If[Union@@m!=Range[Max@@Flatten[m]],sysnorm[m/.Rule@@@Table[{(Union@@m)[[i]],i},{i,Length[Union@@m]}]],First[Sort[sysnorm[m,1]]]];sysnorm[m_,aft_]:=If[Length[Union@@m]<=aft,{m},With[{mx=Table[Count[m,i,{2}],{i,Select[Union@@m,#>=aft&]}]},Union@@(sysnorm[#,aft+1]&/@Union[Table[Map[Sort,m/.{par+aft-1->aft,aft->par+aft-1},{0,1}],{par,First/@Position[mx,Max[mx]]}]])]];
    Table[Length[Union[sysnorm/@Select[Subsets[Subsets[Range[n]]],And[Union@@#===Range[n],Intersection@@#=={}]&]]],{n,4}]

Formula

a(n) = 2*(A055621(n) - A055621(n-1)) = 2*(A000612(n) - 2*A000612(n-1) + A000612(n-2)) for n >= 2. - Andrew Howroyd, Jan 29 2024

Extensions

a(5) onwards from Andrew Howroyd, Jan 29 2024

A318132 Number of non-isomorphic set-systems (finite sets of finite nonempty sets) with union {1,2,...,n} and intersection {}.

Original entry on oeis.org

1, 0, 2, 26, 1884, 18660728, 12813206113141264, 33758171486592987125648226573752576, 1435913805026242504952006868879460423733630400489039411798068453617852416
Offset: 0

Views

Author

Gus Wiseman, Aug 18 2018

Keywords

Examples

			Non-isomorphic representatives of the a(3) = 26 set-systems:
  {{1},{2,3}}
  {{1},{2},{3}}
  {{1},{2},{1,3}}
  {{1},{2},{1,2,3}}
  {{1},{1,2},{2,3}}
  {{1},{2,3},{1,2,3}}
  {{1,2},{1,3},{2,3}}
  {{1},{2},{3},{1,2}}
  {{1},{2},{3},{1,2,3}}
  {{1},{2},{1,2},{1,3}}
  {{1},{2},{1,3},{2,3}}
  {{1},{2},{1,2},{1,2,3}}
  {{1},{2},{1,3},{1,2,3}}
  {{1},{1,2},{1,3},{2,3}}
  {{1},{1,2},{2,3},{1,2,3}}
  {{1},{2},{3},{1,2},{1,3}}
  {{1,2},{1,3},{2,3},{1,2,3}}
  {{1},{2},{3},{1,2},{1,2,3}}
  {{1},{2},{1,2},{1,3},{2,3}}
  {{1},{2},{1,2},{1,3},{1,2,3}}
  {{1},{2},{1,3},{2,3},{1,2,3}}
  {{1},{1,2},{1,3},{2,3},{1,2,3}}
  {{1},{2},{3},{1,2},{1,3},{2,3}}
  {{1},{2},{3},{1,2},{1,3},{1,2,3}}
  {{1},{2},{1,2},{1,3},{2,3},{1,2,3}}
  {{1},{2},{3},{1,2},{1,3},{2,3},{1,2,3}}
		

Crossrefs

Programs

  • Mathematica
    sysnorm[m_]:=If[Union@@m!=Range[Max@@Flatten[m]],sysnorm[m/.Rule@@@Table[{(Union@@m)[[i]],i},{i,Length[Union@@m]}]],First[Sort[sysnorm[m,1]]]];sysnorm[m_,aft_]:=If[Length[Union@@m]<=aft,{m},With[{mx=Table[Count[m,i,{2}],{i,Select[Union@@m,#>=aft&]}]},Union@@(sysnorm[#,aft+1]&/@Union[Table[Map[Sort,m/.{par+aft-1->aft,aft->par+aft-1},{0,1}],{par,First/@Position[mx,Max[mx]]}]])]];
    Table[Length[Union[sysnorm/@Select[Subsets[Rest[Subsets[Range[n]]]],And[Union@@#===Range[n],Intersection@@#=={}]&]]],{n,4}]

Formula

a(n) = A055621(n) - 2*A055621(n-1) = A000612(n) - 3*A000612(n-1) + 2*A000612(n-2) for n >= 2. - Andrew Howroyd, Jan 29 2024

Extensions

a(5) onwards from Andrew Howroyd, Jan 29 2024
Showing 1-4 of 4 results.