OFFSET
0,2
COMMENTS
These are subsets containing twice any element whose double is <= n.
Also the number of subsets of {1..n} containing half of every element that is even. For example, the a(6) = 24 subsets are:
{} {1} {1,2} {1,2,3} {1,2,3,4} {1,2,3,4,5} {1,2,3,4,5,6}
{3} {1,3} {1,2,4} {1,2,3,5} {1,2,3,4,6}
{5} {1,5} {1,2,5} {1,2,3,6} {1,2,3,5,6}
{3,5} {1,3,5} {1,2,4,5}
{3,6} {1,3,6} {1,3,5,6}
{3,5,6}
LINKS
Charlie Neder, Table of n, a(n) for n = 0..500
FORMULA
From Charlie Neder, Jun 10 2019: (Start)
a(n) = Product_{k < n/2} (2 + floor(log_2(n/(2k+1)))).
a(0) = 1, a(n) = a(n-1) * (1 + 1/A001511(n)). (End)
EXAMPLE
The a(6) = 24 subsets:
{} {4} {2,4} {1,2,4} {1,2,4,5} {1,2,3,4,6} {1,2,3,4,5,6}
{5} {3,6} {2,4,5} {1,2,4,6} {1,2,4,5,6}
{6} {4,5} {2,4,6} {2,3,4,6} {2,3,4,5,6}
{4,6} {3,4,6} {2,4,5,6}
{5,6} {3,5,6} {3,4,5,6}
{4,5,6}
MATHEMATICA
Table[Length[Select[Subsets[Range[n]], SubsetQ[#, Select[2*#, #<=n&]]&]], {n, 0, 10}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jun 06 2019
EXTENSIONS
a(21)-a(36) from Charlie Neder, Jun 10 2019
STATUS
approved