A={n∈N:HCF(n,45)=1} and B={2k:k∈{1,2,…,100}}={2,4,6,…,200}.
We need the sum of all elements of A∩B.
Since 45=32×5, requiring HCF(n,45)=1 means that n is not divisible by 3 or 5. Therefore A∩B consists of the even numbers from 1 to 200 that are not divisible by 3 or 5.
The sum of even numbers in {1,…,200} is
S=2+4+⋯+200=2⋅2100⋅101=10100.
Now subtract the sum of even multiples of 3 (i.e., multiples of 6):
6,12,…,198:count=33,∑=6⋅233⋅34=6⋅561=3366.
Next subtract the sum of even multiples of 5 (i.e., multiples of 10):
10,20,…,200:count=20,∑=10⋅220⋅21=2100.
From this add back the sum of even multiples of 15 (i.e., multiples of 30):
30,60,…,180:count=6,∑=30⋅26⋅7=630.
Substituting these into the inclusion-exclusion formula gives
Sum=10100−3366−2100+630=5264.
The answer is 5264.