(i) By definition, A′={x∈N:x∈/A}. So A′ is the set of natural numbers that are divisible neither by 2 nor by 5.
Use the divisibility tests on the last digit:
- x is divisible by 2 exactly when its last digit is 0,2,4,6 or 8.
- x is divisible by 5 exactly when its last digit is 0 or 5.
So x∈A exactly when its last digit is one of 0,2,4,5,6,8.
The possible last digits are 0 to 9. Removing these six digits leaves 1,3,7,9. So x∈/A exactly when its last digit is 1,3,7 or 9. Hence
A′={x∈N:the last digit of x is 1,3,7 or 9}
(ii) Let p∈P. Then p is a prime, so its only positive factors are 1 and p.
If 2 divided p, then 2 would be a factor other than 1, so p=2. But 2∈/P. So 2 does not divide p. In the same way, if 5 divided p then p=5, which is also not in P. So 5 does not divide p.
Thus p is divisible neither by 2 nor by 5, so p∈/A, that is, p∈A′. Since p was any element of P,
P⊂A′
(iii) The natural numbers less than 30 ending in 1,3,7 or 9 are
{1,3,7,9,11,13,17,19,21,23,27,29}
Check each one for being prime. 1 is not a prime, 9=3×3, 21=3×7 and 27=3×9. All the others are primes other than 2 and 5. So the elements of A′ less than 30 that are not in P are
{1,9,21,27}
For example, 9∈A′ but 9∈/P. So A′ has an element that is not in P, and P=A′. Together with part (ii), P is a proper subset of A′.