OFFSET
0,4
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..10000
FORMULA
EXAMPLE
a(6) = 20: {}, {1,3}, {1,5}, {1,6}, {2,3}, {2,5}, {2,6}, {3,4}, {4,5}, {4,6}, {1,2,3,5}, {1,2,3,6}, {1,2,5,6}, {1,3,4,5}, {1,3,4,6}, {1,4,5,6}, {2,3,4,5}, {2,3,4,6}, {2,4,5,6}, {1,2,3,4,5,6}.
MAPLE
a:= n-> binomial(n, max(0, 1+ilog[2](n))):
seq(a(n), n=0..40);
PROG
(Python)
from math import comb
def A357812(n): return comb(n, n.bit_length()) # Chai Wah Wu, Oct 14 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Oct 13 2022
STATUS
approved