Numbers up to 100 divisible by 2, 3, or 5
Consider the integers from to .
How many of them are divisible by , by , or by (that is, by at least one of these)?
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion Β· reading is open to everyone
π‘ Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussionβ¦
Learn the concepts
The theory behind this question.
Related questions
Will every room get a guest?Six booths, eight visitors, none left idleA poker hand missing a whole suitDivisible by none of two, three, or fiveFour balls, three boxes, an empty box
All questions β