Brilli the Ant and her friends are enjoying a custard pie at a picnic. She counts that there are strictly more than 90 ant legs and strictly less than 100 ant legs at the picnic. How many ants are in attendance?
Details and assumptions
Each ant has 6 ant legs
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.
Suppose there are n total ant legs. We are given 9 1 ≤ n ≤ 9 9 and n ≡ 0 ( m o d 6 ) .
Let a be the ones digit of n . Then, n = 9 0 + a ≡ 0 ( m o d 6 ) . Because 6 ∣ 9 0 , then a ≡ 0 ( m o d 6 ) .
a is a single digit greater than 1, so a = 6 . Hence, n = 9 6 , and there are 9 6 / 6 = 1 6 ants.
Suppose there are n total ant legs. Each ant has 6 legs, so n must be divisible by 6. A number is divisible by 6 only if it is even and the sum of its digits is a multiple of 3.
We are given that 9 1 ≤ n ≤ 9 9 . So, the first digit of n is 9 . Because 9 is a multiple of 3, the second digit also must be a multiple of 3.
So, the second digit must be positive, even, and a multiple of 3. Of the positive even digits 2, 4, 6, and 8, only 6 is a multiple of 3. Hence, n = 9 6 , and there are 9 6 / 6 = 1 6 ants.
Problem Loading...
Note Loading...
Set Loading...
Since 1 5 × 6 = 9 0 , there are more than 15 ants. Since 1 7 × 6 = 1 0 2 , there are less than 17 ants.
If there are 16 ants, then there are 1 6 × 6 = 9 6 ant legs, which fulfills the requirements. Hence, there are 16 ants.