OFFSET
0,4
COMMENTS
EXAMPLE
The a(0) = 0 through a(7) = 15 subsets:
. {1} {1,2} {1,3} {1,2,4} {1,2,5} {1,2,6} {1,2,7}
{2,3} {1,3,4} {1,3,5} {1,3,6} {1,3,7}
{2,3,4} {2,3,5} {1,4,6} {1,4,7}
{2,4,5} {1,5,6} {1,5,7}
{3,4,5} {2,3,6} {1,6,7}
{2,5,6} {2,3,7}
{3,4,6} {2,4,7}
{3,5,6} {2,5,7}
{4,5,6} {2,6,7}
{3,4,7}
{3,5,7}
{3,6,7}
{4,5,7}
{4,6,7}
{5,6,7}
MATHEMATICA
bpe[n_]:=Join@@Position[Reverse[IntegerDigits[n, 2]], 1];
Table[Length[Select[Subsets[Range[n], {IntegerLength[n, 2]}], MemberQ[#, n] && Length[Union[Sort/@Select[Tuples[bpe/@#], UnsameQ@@#&]]]>0&]], {n, 0, 25}]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Gus Wiseman, Mar 11 2024
STATUS
approved