I tried this ,
No of prime no's below $500$ is $95$
Excluding $2,3,5,7$, it is $91$
No's not divisible $2,3,4,5,7,21$, are
$11 \cdot (11,13,17,19,23,29,31,37,41,43)$ i.e $10$
$13 \cdot (13,17,19,23,29,31,37)$ i.e $7$
$17 \cdot (17,19,23,29)$ i.e $4$
$19 \cdot (19,23)$ i.e $2$
initially $1$ is also not divisible
total = $91+10+7+4+2+1= 115$
answer $500-115 = 385$
Is this correct or incorrect??