Let and be relations on the set such that is a prime and is an integer and is a prime and or . Then, the number of elements in is ______.
Solution
Core idea. A difference of two relations keeps the pairs of the first that the second lacks.
Concept refresher. A power of a prime with can stay within a bound only if
so only the primes up to matter.
Picture the situation. A pair belongs to when and . Since and , only the primes 2, 3, 5 and 7 can occur. Each power gives exactly one pair.
Approach. List the powers with exponent at least 2 for each prime and count them.
Step 1: The powers
For the prime 2 the powers are 4, 8, 16 and 32; for 3 they are 9 and 27; for 5 only 25; for 7 only 49.
Step 2: The count
Each power gives one pair of the difference, so the number of elements is .
Answer. 8
Sanity check. The next powers are , , and , all beyond 50.
Common wrong answers
- 7: Missing the pair with leaves seven of the eight powers and gives 7.
- 23: Reading as only leaves the 15 pairs in the difference and gives 23.
Key takeaway
The trap. Higher powers of the small primes are easy to miss in a list.
How toppers think. They bound the primes by the square root of the largest element.
Remember.
More on Relations
- Consider the relation R on the set {-2, -1, 0, 1, 2} defined by (a, b) ∈ R if and only if 1 + ab > 0. Then…
- Let R = {(x, y) ∈ N × N: loge(x + y) ≤ 2}. Then the minimum number of elements, required to be added in R to…
- Let A = {1, 4, 7} and B = {2, 3, 8}. Then the number of elements, in the relation R = {((a₁, b₁), (a₂, b₂))…
- All 63 on Relations ›