What is Non-Divisible Numbers?
Answers
Answer:
Numbers that are not divisible by any number in the range [2, 10]
Given an integer N. The task is to find the count of all the numbers from 1 to N which are not divisible by any number in the range [2, 10].
Examples:
Input: N = 12
Output: 2
1, 11 are the only numbers in range [1, 12] which are not divisible by any number from 2 to 10
Input: N = 20
Output: 5
Recommended: Please try your approach on {IDE} first, before moving on to the solution.
Approach: Total numbers from 1 to n which are not divisible by any number from 2 to 10 is equal to n minus the numbers which are divisible by some numbers from 2 to 10.
Step-by-step explanation:
mark as brainlest plzzzzzzzzzz brooo then I will be able to get it to you
Answer:
I know wht is divisible
number
Idk wht is non divisible number