Let A={n∈N:HCF(n,45)=1} and B={2k:k∈{1,2,…,100}}. Then the sum of all the elements of A∩B is \_\_\_\_.
Answer: 5264
Solutions · 1
Official solution
A = numbers not divisible by 3 or 5 (since 45=32×5). B={2,4,…,200}.
A∩B={2k:k=1,…,100,k not divisible by 3 or 5} (since 2 is coprime to 3 and 5, "2k divisible by 3" ⟺ "k divisible by 3", similarly for 5).
So the sum is 2× (sum of k=1,…,100 not divisible by 3 or 5):
- Sum of all k: 5050
- Sum divisible by 3: 3(1+⋯+33)=3×561=1683
- Sum divisible by 5: 5(1+⋯+20)=5×210=1050
- Sum divisible by 15: 15(1+⋯+6)=15×21=315
- Sum divisible by 3 or 5: 1683+1050−315=2418
- Sum not divisible by 3 or 5: 5050−2418=2632
Total: 2×2632=5264