For set E = { a 1 , a 2 , ⋯ , a 1 0 0 } , whose subset is X = { a i 1 , a i 2 , ⋯ , a i k } , let‘s define the characteristic sequence of X as: x 1 , x 2 , ⋯ , x 1 0 0 , where x i 1 = x i 2 = ⋯ = x i k = 1 , and the other terms are all 0 .
For instance, the characteristic sequence of { a 2 , a 3 } is 0 , 1 , 1 , 0 , 0 , ⋯ , 0 .
If P , Q are subsets of E , and P has characteristic sequence : p 1 , p 2 , ⋯ , p 1 0 0 such that p 1 = 1 , p i + p i + 1 = 1 , 1 ≤ i ≤ 9 9 , Q has characteristic sequence : q 1 , q 2 , ⋯ , q 1 0 0 such that q 1 = 1 , q j + q j + 1 + q j + 2 = 1 , 1 ≤ j ≤ 9 8 , then find the cardinality of P ∩ Q .
Have a look at my problem set: SAT 1000 problems
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.
Problem Loading...
Note Loading...
Set Loading...
It is given that p 1 = 1 and p i + p i + 1 = 1 , 1 ≤ i ≤ 9 9 we get that every alternate p is 1 starting from p 1 . So we get characteristic sequence of subset P of E as:
S e q ( P ) = 1 , 0 , 1 , 0 , 1 , 0 , 1 , ⋯ , 1 , 0
Similarly in characteristic sequence of Q we have q 1 = 1 and q j + q j + 1 + q j + 2 = 1 , 1 ≤ j ≤ 9 8 . So characteristic sequence of subset Q of E is:
S e q ( Q ) = 1 , 0 , 0 , 1 , 0 , 0 , 1 , 0 , 0 , 1 , ⋯ , 1 , 0 , 0 , 1
So, in S e q ( P ) , every ( 2 m − 1 ) t h number is 1 ∀ m ∈ N , 1 ≤ m ≤ 5 0 Similarly, in S e q ( Q ) every ( 3 n − 2 ) t h number is 1 ∀ n ∈ N , 1 ≤ n ≤ 3 o f 4
Let a k ∈ P ∩ Q . Then a k ∈ P and a k ∈ Q . So p k = q k = 1 . So there must exist m , n such that
2 m − 1 = 3 n − 2
To get the cardinality of intersection P and Q we have to find number of all such pairs ( m , n . Solving the equation,
2 m = 3 n − 1
Since LHS is even, in order to RHS to be even n must be odd. Now number of odd numbers in the range 1 to 3 4 is 1 7 and for every odd n within that range, there will exist m such that 1 ≤ m ≤ 5 0 .
So, the cardinality of P ∩ Q is 1 7 .