A370589 Number of subsets of {1..n} containing n such that it is not possible to choose a different binary index of each element.
0, 0, 0, 1, 1, 6, 17, 42, 67, 175, 400, 870, 1841, 3820, 7837, 15920, 30997, 63370, 128348, 258699, 520042, 1043284, 2090732, 4186382, 8379022, 16765549, 33540664, 67092258, 134198633, 268412631, 536844414, 1073710403, 2147296425, 4294753612, 8589686922, 17179580003
Offset: 0
Keywords
Examples
The binary indices of {1,4,5} are {{1},{3},{1,3}}, from which it is not possible to choose three different elements, so S is counted under a(3). The binary indices of S = {1,6,8,9} are {{1},{2,3},{4},{1,4}}, from which it is not possible to choose four different elements, so S is counted under a(9). The a(0) = 0 through a(6) = 17 subsets: . . . {1,2,3} {1,2,3,4} {1,4,5} {2,4,6} {1,2,3,5} {1,2,3,6} {1,2,4,5} {1,2,4,6} {1,3,4,5} {1,2,5,6} {2,3,4,5} {1,3,4,6} {1,2,3,4,5} {1,3,5,6} {1,4,5,6} {2,3,4,6} {2,3,5,6} {2,4,5,6} {3,4,5,6} {1,2,3,4,6} {1,2,3,5,6} {1,2,4,5,6} {1,3,4,5,6} {2,3,4,5,6} {1,2,3,4,5,6}
Links
- Wikipedia, Axiom of choice.
Crossrefs
Programs
-
Mathematica
bpe[n_]:=Join@@Position[Reverse[IntegerDigits[n,2]],1]; Table[Length[Select[Subsets[Range[n]],MemberQ[#,n] && Select[Tuples[bpe/@#],UnsameQ@@#&]=={}&]],{n,0,10}]
Extensions
a(19)-a(35) from Alois P. Heinz, Mar 09 2024
Comments