how many of the integers between 1 and 400 , inclusive are not divisible by 4 and do not contain any 4s as a digit
Please post explanation
Please post explanation
BREAKING: Target Test Prep releases Brand New 2026 On Demand GMAT prep course
RedeemTarget Test Prep · GMAT
Learn live with an expert or move at your own pace. Every option includes the complete TTP study system.

with Chris Peckover

with Logan Thompson
Complete access from day one. Study on your schedule.
Compare the format, schedule, and included access before enrolling. Prices and seat counts shown reflect the supplied offer details.
Strategy: First find the numbers that do not contain a 4 in this range and then subtract all the multiples of 4 from it.agarwalva wrote:how many of the integers between 1 and 400 , inclusive are not divisible by 4 and do not contain any 4s as a digit
Please post explanation
Answer is 252 though!aneesh.kg wrote:Strategy: First find the numbers that do not contain a 4 in this range and then subtract all the multiples of 4 from it.agarwalva wrote:how many of the integers between 1 and 400 , inclusive are not divisible by 4 and do not contain any 4s as a digit
Please post explanation
How many numbers between 1 and 400 do not contain 4 as a digit?
one-digit numbers: 8
two digit numbers: 8C1*9C1 = 72
three-digit numbers: 3C1*9C1*9C1 = 243
Total = 8 + 72 + 243 = 323
Which numbers between 1 and 400 are multiples of 4 and do not contain 4?
Numbers ending in 08,12,16,20,28,.. etc
Strategy: Find all the multiples of 4 and then subtract those that contain a 4. These numbers will then be subtracted from 323 to get the required answer.
From 00 to 99, there are a total of 25 multiples of 4 but 7 of them (04, 24, 40, 44, 48, 64, 84) contain 4 in them.
So, there are (25 - 7 =) 18 numbers from 00 to 99 that do not contain a 4 but are multiples of 4.
There will be 18 numbers each between (00 - 99), (100 - 199).. (300 - 399)
So, 4*18 = 72 numbers in all.
Number of numbers from 1 to 400 that do not contain a 4 and are not multiples of 4
= 323 - 72
= 251
Good = total - bad.agarwalva wrote:how many of the integers between 1 and 400 , inclusive are not divisible by 4 and do not contain any 4s as a digit
Please post explanation
The first part is incorrect. "Integers between 1 and 400 that do NOT include 4" is not the same as "We need to count all of the integers 000 through 400 that do NOT include a digit of 4" because the latter include 0 which is not between 1 and 400. In fact, Integers between 1 and 400 that do NOT include 4 = your answer 324-1=323GMATGuruNY wrote:Good = total - bad.agarwalva wrote:how many of the integers between 1 and 400 , inclusive are not divisible by 4 and do not contain any 4s as a digit
Please post explanation
Total: Integers between 1 and 400 that do NOT include 4
In these sorts of problems:
A one-digit integer can be represented as 00X.
A two-digit integer can be represented as 0XX.
The result:
We need to count all of the integers 000 through 400 that do NOT include a digit of 4.
Number options for the hundreds place = 4. (0, 1, 2, or 3.)
Number of options for the tens place = 9. (Any digit but 4.)
Number of options for the units place = 9. (Any digit but 4.)
To combine these options, we multiply:
4*9*9 = 324.
Bad: Of the 324 options above, any integer that is a multiple of 4
For an integer to be multiple of 4, its last two digits must form a multiple of 4.
Since 100/4 = 25, the number of two-digit multiples of 4 = 25.
But since the 324 options above do include a digit of 4, our options for the last two digits here must EXCLUDE any two-digit integer with a digit of 4.
Of the 25 multiples of 4 between 1 and 100, the following 7 options include a digit of 4: 04, 24, 40, 44, 48, 64, 84.
Thus, between 1 and 100, the number of multiples of 4 that DO NOT include a digit of 4 = 25-7 = 18.
Thus:
Number of options for the last two digits = 18.
Number of options for the hundreds digit = 4. (0, 1, 2, or 3.)
To combine these options, we multiply:
18*4 = 72.
Thus:
Good integers = total - bad = 324 - 72 = 252.
Correct.BenjiP wrote:Integers between 1 and 400 that do NOT include 4" is not the same as "We need to count all of the integers 000 through 400 that do NOT include a digit of 4"
New here Create free account