Basic counting

How many numbers are there between 1 and 100 (inclusive) that are divisible by 9 or 4?


Check out the set of such problems

34 24 30 36 18 60 72

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

The number of integers between 1 and 100 (inclusive) divisible by 9 or 4 = = the number of integers between 1 and 100 (inclusive) divisible by 9 + + the number of integers between 1 and 100 divisible (inclusive) by 4 - the number of integers between 1 to 100 (inclusive) divisible by both 4 and 9.

In formula:

n = 100 9 + 100 4 100 36 = 11 + 25 2 = 34 \begin{aligned} n & = \left \lfloor \frac {100}9\right \rfloor + \left \lfloor \frac {100}4\right \rfloor - \left \lfloor \frac {100}{36} \right \rfloor = 11 + 25 - 2 = \boxed{34} \end{aligned}

Notation: \lfloor \cdot \rfloor denotes the floor function .

Same I did. Upvoted Sir :)

Naren Bhandari - 2 years, 11 months ago

First let us note that:

  1. Between " 1 100 " "1 - 100" , 11 11 numbers are divisible by 9 9

  2. Between " 1 100 " "1 - 100" , 25 25 numbers are divisible by 4 4

You might assume that the numbers which are divisble by 9 9 or 4 4 is 36 36 25 + 11 \rightarrow 25 + 11 .

However, we're counting every no. that is divisible by 4 4 and 9 9 twice, ex: 36 36 . Hence we have to find out how many such no.s are there.

There are two no.s, 36 36 and 72 72 .

\therefore the numbers between 1 100 1 - 100 which are divisible by 9 9 or 4 4 is equal to:

36 2 = 34 36 - 2 = \large \color{#20A900} \boxed{34}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...