login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Number of nonempty subsets of {1, 2, ..., n} with <=2 pairwise coprime elements.
2

%I #7 Mar 30 2012 17:37:34

%S 1,3,6,9,14,17,24,29,36,41,52,57,70,77,86,95,112,119,138,147,160,171,

%T 194,203,224,237,256,269,298,307,338,355,376,393,418,431,468,487,512,

%U 529,570,583,626,647,672,695,742,759,802,823

%N Number of nonempty subsets of {1, 2, ..., n} with <=2 pairwise coprime elements.

%H Alois P. Heinz, <a href="/A187263/b187263.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n) = A187262(n,2).

%e a(4) = 9 because there are 9 nonempty subsets of {1,2,3,4} with <=2 pairwise coprime elements: {1}, {2}, {3}, {4}, {1,2}, {1,3}, {1,4}, {2,3}, {3,4}.

%Y Column 2 of triangle A187262. First differences are A039649 for n>1.

%K nonn

%O 1,2

%A _Alois P. Heinz_, Mar 07 2011