Why does is still show wrong answer for test case 1

i have coded the solution using set theory using the relation
(AUB)=nA+nB-(A intersection B)
first i found all numbers till n which are divided by 2,3,5,7,11,13,17,19 taken one at a time then subtracted total no. of numbersdivisible taken two primes at a time then add no.of numbers taken 3 at a time and so on. yet the answer for first test case is wrong.
please help me to find which test case is wrong.

instead of 17 you should write 7.

answer=divide(n,1,a)-divide(n,2,a)+divide(n,3,a)-divide(n,4,a)+divide(n,5,a)-divide(n,6,a)+divide(n,17,a)-divide(n,8,a);

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.