Recent questions tagged subsets

1 1 vote
2 2 answers
1.4k
1.4k views
A set contains $2n+1$ elements. The number of subsets of the set which contain at most $n$ elements is$2^n$$2^{n+1}$$2^{n-1}$$2^{2n}$
0 0 votes
2 2 answers
604
604 views
Which one of the following statements is correct regarding the elements and subsets of the set $\{1, 2, \{1, 2, 3\}\}$?$\{1, 2\} \in \{1, 2, \{1, 2, 3\} \}$$\{1, 2\} \sub...
0 0 votes
0 0 answers
1.0k
1.0k views
I know it may be silly but,Say i have a set A = {1,2,3,4,5} then for subset we use ⊆ and for membership we use ∈.I can say 2 ∈ A , but 2 ⊆ A its wrong because ...
5 5 votes
4 answers 4 answers
3.5k
3.5k views
#include <stdio.h #define N 3 int main() { int array[N] = {1,2,3}; int i,j; for ( i=1; i<(1<<N); i++) { for( j=0; j<N; j++) { if((1<<j)&i) { printf("%d", array[j]); } } p...
1 1 vote
1 1 answer
2.1k
2.1k views
QuestionIf A and B are subsets of set X = { 1,2,3, ... 99,100 } and A # B denote the set of all elements of X which belogs to exactly A or B . Total number of subsets o...
To see more, click for the full list of questions or popular tags.