In the set of consecutive integers from 12 to 30, inclusive, there are 4 integers that are multiples of both 2 and 3. How many integers in the set are multiples of neither 2 nor 3?
F. 2
G. 5
H. 6
J. 13
K. 15


Sagot :

An = Ai + D(N-1)

starting with two 

30 = 12 + 2N - 2 
20 = 2N 
N = 10 

12 - 30 = 19 digits 

19 - 10 = 9 

9 digits are not divisible by two 

then by three 

30 = 12 + 3N - 3
21 = 3N 
N = 7 

7 - 4 = 3 since 4 digits that are divisible by three are already divisible by two. 

so 9 - 3 = 6 

6 digits are not divisible by two nor three