login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A308546 Number of double-closed subsets of {1..n}. 19
1, 2, 3, 6, 8, 16, 24, 48, 60, 120, 180, 360, 480, 960, 1440, 2880, 3456, 6912, 10368, 20736, 27648, 55296, 82944, 165888, 207360, 414720, 622080, 1244160, 1658880, 3317760, 4976640, 9953280, 11612160, 23224320, 34836480, 69672960, 92897280 (list; graph; refs; listen; history; text; internal format)
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
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
Sequence in context: A334269 A029867 A056348 * A324737 A057574 A198296
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jun 06 2019
EXTENSIONS
a(21)-a(36) from Charlie Neder, Jun 10 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 11:14 EDT 2024. Contains 371791 sequences. (Running on oeis4.)