1.explain problem statement properly.
2.explain the o/p with example.
Can u explain not so easy math
Problem is that you have to find number of numbers from 1 to n which are divisible by any prime from 1 to 20. Example : if n=30 then the numbers are 2 to 20, 21, 22, 24, 25, 26, 27, 28, 30.
i dont understand o/p
can you send your i/p o/p so that i can explain.
in the example you gave i dont understand how it works ?
Problem is that you have to find number of numbers from 1 to n which are divisible by any prime from 1 to 20. Example : if n=30 then the numbers are 2 to 20, 21, 22, 24, 25, 26, 27, 28, 30.
please elaborate your doubt.
if n=30 then the numbers are 2 to 20, 21, 22, 24, 25, 26, 27, 28, 30.
i dont understand this line !!!
these are the numbers which is divsible by at least one prime from 1 to 20.
Note: 2 to 20 means all numbers from 2 to 20(inclusive)