Geometry Solver
Home › Number theory

How many numbers are divisible by two given numbers

The rule: an intersection of divisibility sets uses the LCM

A number belongs to both divisibility sets precisely when it is a multiple of . In an integer interval from to , the count is , where .

Problem

Let be the set of two-digit numbers divisible by , and let be the set of two-digit numbers divisible by . How many numbers are in ?

Answer

There are two-digit numbers divisible by both and : , , and .
The list and the interval-counting formula give the same result.

Step-by-step solution

Turn the intersection into one divisibility condition

The numbers in must be divisible by both and . Because the two numbers are prime and distinct,

So the question is equivalent to counting the two-digit multiples of .

List or count the multiples

The relevant multiples are

The next one is , which is no longer a two-digit number. Thus there are numbers.

The interval formula confirms the count for :

How to check yourself

Do not count multiples of and multiples of separately and add them. The intersection asks for numbers satisfying both conditions, so the LCM is the single step that combines them.

Add to Chrome - solve your own

Screenshot any problem on your screen and get the steps. Chrome on a computer; free.