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!)
A326078 Number of subsets of {2..n} containing all of their integer quotients > 1. 8
1, 1, 2, 4, 8, 16, 24, 48, 72, 144, 216, 432, 552, 1104, 1656, 2592, 3936, 7872, 10056, 20112, 26688, 42320, 63480, 126960, 154800, 309600, 464400, 737568, 992160, 1984320, 2450880, 4901760, 6292800, 10197312, 15295968, 26241696, 32947488, 65894976, 98842464, 161587872, 205842528 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
These sets are closed under taking the quotient of two distinct divisible terms.
LINKS
FORMULA
For n > 0, a(n) = A326023(n) - 1.
For n > 0, a(n) = A326079(n)/2.
EXAMPLE
The a(6) = 24 subsets:
{} {2} {2,3} {2,3,4} {2,3,4,5} {2,3,4,5,6}
{3} {2,4} {2,3,5} {2,3,4,6}
{4} {2,5} {2,3,6} {2,3,5,6}
{5} {3,4} {2,4,5}
{6} {3,5} {3,4,5}
{4,5} {4,5,6}
{4,6}
{5,6}
MATHEMATICA
Table[Length[Select[Subsets[Range[2, n]], SubsetQ[#, Divide@@@Select[Tuples[#, 2], UnsameQ@@#&&Divisible@@#&]]&]], {n, 0, 10}]
PROG
(PARI)
a(n)={
my(lim=vector(n, k, sqrtint(k)));
my(accept(b, k)=for(i=2, lim[k], if(k%i ==0 && bittest(b, i) != bittest(b, k/i), return(0))); 1);
my(recurse(k, b)=
my(m=1);
for(j=max(2*k, n\2+1), min(2*k+1, n), if(accept(b, j), m*=2));
k++;
m*if(k > n\2, 1, (self()(k, b) + if(accept(b, k), self()(k, b + (1<<k)))))
);
recurse(1, 0);
} \\ Andrew Howroyd, Aug 30 2019
CROSSREFS
Sequence in context: A304076 A225549 A138278 * A089827 A369151 A222089
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jun 05 2019
EXTENSIONS
Terms a(21) and beyond from Andrew Howroyd, Aug 30 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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)