SAT1000 - P911

Algebra Level 4

For set E = { a 1 , a 2 , , a 100 } E=\{a_1,a_2,\cdots,a_{100}\} , whose subset is X = { a i 1 , a i 2 , , a i k } X=\{a_{i_1},a_{i_2},\cdots,a_{i_k}\} , let‘s define the characteristic sequence of X X as: x 1 , x 2 , , x 100 x_1,x_2,\cdots,x_{100} , where x i 1 = x i 2 = = x i k = 1 x_{i_1}=x_{i_2}=\cdots=x_{i_k}=1 , and the other terms are all 0 0 .

For instance, the characteristic sequence of { a 2 , a 3 } \{a_2,a_3\} is 0 , 1 , 1 , 0 , 0 , , 0 0,1,1,0,0,\cdots,0 .

If P , Q P,Q are subsets of E E , and P P has characteristic sequence : p 1 , p 2 , , p 100 p_1,p_2,\cdots,p_{100} such that p 1 = 1 , p i + p i + 1 = 1 , 1 i 99 p_1=1,\ p_i+p_{i+1}=1,\ 1 \leq i \leq 99 , Q Q has characteristic sequence : q 1 , q 2 , , q 100 q_1,q_2,\cdots,q_{100} such that q 1 = 1 , q j + q j + 1 + q j + 2 = 1 , 1 j 98 q_1=1,\ q_{j}+q_{j+1}+q_{j+2}=1,\ 1 \leq j \leq 98 , then find the cardinality of P Q P \cap Q .


Have a look at my problem set: SAT 1000 problems


The answer is 17.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

It is given that p 1 = 1 p_1 = 1 and p i + p i + 1 = 1 , 1 i 99 p_i + p_{i+1} = 1\,,\;1\leq i \leq 99 we get that every alternate p p is 1 1 starting from p 1 p_1 . So we get characteristic sequence of subset P P of E E as:

S e q ( P ) = 1 , 0 , 1 , 0 , 1 , 0 , 1 , , 1 , 0 Seq(P) = 1, 0, 1, 0, 1, 0, 1,\cdots , 1, 0

Similarly in characteristic sequence of Q Q we have q 1 = 1 q_1 = 1 and q j + q j + 1 + q j + 2 = 1 , 1 j 98 q_j + q_{j+1} + q_{j+2} = 1\,,\;1\leq j\leq 98 . So characteristic sequence of subset Q Q of E E is:

S e q ( Q ) = 1 , 0 , 0 , 1 , 0 , 0 , 1 , 0 , 0 , 1 , , 1 , 0 , 0 , 1 Seq(Q) = 1, 0, 0, 1, 0, 0, 1, 0, 0, 1,\cdots , 1, 0, 0, 1

So, in S e q ( P ) Seq(P) , every ( 2 m 1 ) t h (2m-1)th number is 1 m N , 1 m 50 1 \;\forall\; m\in \mathbb{N}, 1 \leq m \leq 50 Similarly, in S e q ( Q ) Seq(Q) every ( 3 n 2 ) t h (3n-2)th number is 1 n N , 1 n 3 o f 4 1\;\forall\;n\in\mathbb{N}, 1 \leq n \leq 3 of 4

Let a k P Q a_k \in P \cap Q . Then a k P a_k \in P and a k Q a_k \in Q . So p k = q k = 1 p_k = q_k = 1 . So there must exist m , n m,n such that

2 m 1 = 3 n 2 2m - 1 = 3n - 2

To get the cardinality of intersection P P and Q Q we have to find number of all such pairs ( m , n (m,n . Solving the equation,

2 m = 3 n 1 2m = 3n - 1

Since LHS is even, in order to RHS to be even n n must be odd. Now number of odd numbers in the range 1 1 to 34 34 is 17 17 and for every odd n n within that range, there will exist m m such that 1 m 50 1 \leq m \leq 50 .

So, the cardinality of P Q P\cap Q is 17 17 .

Why the zeros are not counted ?

wing yan yau - 11 months, 2 weeks ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...