Let A={n∈N:n2≤n+10000}, B={3k+1:k∈N} and C={2k:k∈N}. Then the sum of all the elements of the set A∩(B−C) is equal to:
Answer: 832
Solutions · 1
Official solution
n2≤n+10000⟺n2−n≤10000⟺n(n−1)≤100×100, giving A={1,2,…,100}.
B={4,7,10,13,…} (numbers ≡1(mod3)), C={2,4,6,…} (even numbers).
B−C = numbers of the form 3k+1 that are odd: {7,13,19,…} (an AP with common difference 6, since every other term of B is odd).
A∩(B−C)={7,13,19,…,97}, an AP with d=6.
Number of terms: 697−7+1=16.
Sum: 216(7+97)=8×104=832