
EXAMPLE

a(1)=59 because in first step we removed all numbers divisible by 2 (=60) with the exception of the first one, i.e., 2.
a(2)=19 because the number of numbers divisible by 3 and not divisible by 2 is 20 and we remove all with the exception of the first one, i.e., 3.
