Search: id:A109511 Results 1-1 of 1 results found. %I A109511 %S A109511 0,1,2,4,5,10,11,19,23,40,41,79,80,145,164,292,293,577,578,1096,1163, %T A109511 2188,2189,4357,4373,8470,8726,16924,16925,33832,33833,66601,67628, %U A109511 133165,133244,266332,266333,528478,532577,1056985,1056986,2113717 %N A109511 Number of subsets of the first n numbers having a common divisor greater than 1. %C A109511 a(n) = 2^n - A085945(n) - 1 = A000225 - A085945(n); %C A109511 a(n) - a(n-1) = 1 iff n is prime; %C A109511 a(p^e) = a(p^e - 1) + 2^(p^(e-1) - 1) for p prime, e>0; %C A109511 a(p*q) = a(p*q - 1) + 2^(p-1) + 2^(q-1) - 1 for primes p<>q. %H A109511 Eric Weisstein's World of Mathematics, Inclusion-Exclusion Principle %F A109511 a(n) = Sum(-mu(k) * 2^(floor(n/k)-1): 1