We have A={1,2,3,…,20}, R1={(a,b):b is divisible by a}, and R2={(a,b):a is an integral multiple of b}.
In this context, (a,b)∈R1 means a∣b, while (a,b)∈R2 means b∣a, so that R2={(a,b):a is divisible by b}.
The intersection R1∩R2 consists of all pairs (a,b) for which a∣b and b∣a, forcing a=b. Hence R1∩R2={(a,a):a∈A}, which has 20 elements.
To find ∣R1∣, note that for each a the number of multiples of a in {1,…,20} is ⌊20/a⌋, giving
∣R1∣=∑a=120⌊20/a⌋=20+10+6+5+4+3+2+2+2+2+1+1+1+1+1+1+1+1+1+1=66
Since R1−R2=R1∖(R1∩R2), we obtain
∣R1−R2∣=∣R1∣−∣R1∩R2∣=66−20=46
The answer is 46.