OFFSET
1,3
COMMENTS
A binary index of n is any position of a 1 in its reversed binary expansion. The binary indices of n are row n of A048793. We define the set-system with BII-number n to be obtained by taking the binary indices of each binary index of n. Every finite set of finite nonempty sets has a different BII-number. For example, 18 has reversed binary expansion (0,1,0,0,1), and since the binary indices of 2 and 5 are {2} and {1,3} respectively, the BII-number of {{2},{1,3}} is 18.
The enumeration of these set-systems by number of covered vertices is A326881.
LINKS
John Tyler Rascoe, Table of n, a(n) for n = 1..10000
EXAMPLE
Most small numbers are in the sequence, but the sequence of non-terms together with the set-systems with those BII-numbers begins:
20: {{1,2},{1,3}}
22: {{2},{1,2},{1,3}}
28: {{1,2},{3},{1,3}}
30: {{2},{1,2},{3},{1,3}}
36: {{1,2},{2,3}}
37: {{1},{1,2},{2,3}}
44: {{1,2},{3},{2,3}}
45: {{1},{1,2},{3},{2,3}}
48: {{1,3},{2,3}}
49: {{1},{1,3},{2,3}}
50: {{2},{1,3},{2,3}}
51: {{1},{2},{1,3},{2,3}}
52: {{1,2},{1,3},{2,3}}
53: {{1},{1,2},{1,3},{2,3}}
54: {{2},{1,2},{1,3},{2,3}}
55: {{1},{2},{1,2},{1,3},{2,3}}
60: {{1,2},{3},{1,3},{2,3}}
61: {{1},{1,2},{3},{1,3},{2,3}}
62: {{2},{1,2},{3},{1,3},{2,3}}
84: {{1,2},{1,3},{1,2,3}}
MATHEMATICA
bpe[n_]:=Join@@Position[Reverse[IntegerDigits[n, 2]], 1];
Select[Range[0, 100], SubsetQ[bpe/@bpe[#], Intersection@@@Select[Tuples[bpe/@bpe[#], 2], Intersection@@#!={}&]]&]
PROG
(Python)
from itertools import count, islice, combinations
def bin_i(n): #binary indices
return([(i+1) for i, x in enumerate(bin(n)[2:][::-1]) if x =='1'])
def a_gen():
for n in count(0):
E, f = [bin_i(k) for k in bin_i(n)], 0
for i in combinations(E, 2):
x = list(set(i[0])&set(i[1]))
if x not in E and len(x) > 0:
f += 1
break
if f < 1:
yield n
A326880_list = list(islice(a_gen(), 100)) # John Tyler Rascoe, Mar 07 2025
CROSSREFS
KEYWORD
nonn,base,changed
AUTHOR
Gus Wiseman, Jul 29 2019
STATUS
approved