How many numbers?

How many positive integers strictly less than one hundred are divisible by both 2 and 3?


The answer is 16.

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.

5 solutions

Discussions for this problem are now closed

If the number is divisible by both 2 and 3 it will be divisible by 6.

16 × 6 = 96 16 \times 6 = 96

17 × 6 = 102 17 \times 6 = 102

So there are 16 numbers under 100 that are divisible by both 2 and 3.

floor(100/(2x3)) = 16

I like this neat one-liner

Kenny Lau - 6 years, 6 months ago
Razik Ridzuan
Dec 10, 2014

We know numbers that can be divided by 2 and 3, can be divided by 6.. Setting up arithmetic progression 6,12,18,... 96. Find the number of terms using the formula

Tn = a + (n-1)d

96 = 6 + (n-1)(6)

n=16

Norhan Mahmoud
Nov 29, 2014

find the largest number divisible by the common multiple of 2 and 3 { 6 6 } less than 100, which is 96 and divide it by 6 96 6 = 16 \boxed{\frac {96}{6} = 16} and so we deduce that there are 16 numbers less than 100 divisible by both 2 and 3.

Aman Gautam
Nov 29, 2014

if a number is to be divisible by 2 and 3,then it is divisible by 2x3=6
so the numbers below 100 divisible by 6 are 17 (16 if 0 is excluded)

0,6,12,18,24,30,36,42,48,54,60,66,72,78,84,90 & 96

number "0" is neutral number, so "0" is excluded.

Felix HG - 6 years, 6 months ago

Nice solution. Did by the same way. @Aman Gautam

Anuj Shikarkhane - 6 years, 6 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...