Last visit was: 19 Sep 2026, 17:06 It is currently 19 Sep 2026, 17:06
Close
GMAT Club Daily Prep
Thank you for using the timer - this advanced tool can estimate your performance and suggest more practice questions. We have subscribed you to Daily Prep Questions via email.

Customized
for You

we will pick new questions that match your level based on your Timer History

Track
Your Progress

every week, we’ll send you an estimated GMAT score based on your performance

Practice
Pays

we will pick new questions that match your level based on your Timer History
Not interested in getting valuable practice questions and articles delivered to your email? No problem, unsubscribe here.
Close
Request Expert Reply
Confirm Cancel
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 Sep 2026
Posts: 113,675
Own Kudos:
Given Kudos: 111,668
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 113,675
Kudos: 842,355
 [64]
4
Kudos
Add Kudos
60
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 19 Sep 2026
Posts: 16,653
Own Kudos:
81,415
 [9]
Given Kudos: 492
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,653
Kudos: 81,415
 [9]
8
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
User avatar
VeritasPrepBrian
User avatar
Veritas Prep Representative
Joined: 26 Jul 2010
Last visit: 02 Mar 2022
Posts: 416
Own Kudos:
3,307
 [6]
Given Kudos: 63
Expert
Expert reply
Posts: 416
Kudos: 3,307
 [6]
6
Kudos
Add Kudos
Bookmarks
Bookmark this Post
General Discussion
User avatar
SonalSinha803
Joined: 14 Feb 2018
Last visit: 18 Feb 2019
Posts: 302
Own Kudos:
327
 [7]
Given Kudos: 29
Posts: 302
Kudos: 327
 [7]
4
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
The possibilities are 57*** , *57**, **57* and ***57.

Thus, the number of ways of doing so are - 10 * 10 * 10 + 3* 10 * 10 * 9 = 3700.

Thus, imo D.

Posted from my mobile device
User avatar
u1983
User avatar
Current Student
Joined: 24 Aug 2016
Last visit: 06 Jun 2021
Posts: 700
Own Kudos:
886
 [5]
Given Kudos: 97
GMAT 1: 540 Q49 V16
GMAT 2: 680 Q49 V33
Products:
GMAT 2: 680 Q49 V33
Posts: 700
Kudos: 886
 [5]
2
Kudos
Add Kudos
3
Bookmarks
Bookmark this Post
Bunuel
How many positive five-digit integers contain the digit grouping “57” (in that order) at least once? For instance 30,457 and 20,574 are two such integers to include, but 30,475 and 20,754 do not meet the restrictions.

(A) 279

(B) 3,000

(C) 3,500

(D) 3,700

(E) 4,000

From The Picture 01 :

For case 01 : 3rd position can be filled in 10 ways ( available numbers 0,1,2,...9)... Similarly 4th position in 10 ways & 5th in 10 ways as well ==>Total cases= \(10*10*10 = 1000\)
For case 02 : 1st position can be filled in 9 ways ( if 0, the number is not 5-digit any more)... 4th position in 10 ways & 5th in 10 ways as well ==>Total cases= \(9*10*10 = 900\)
For case 03 : 1st position can be filled in 9 ways , 2nd position in 10 ways & 5th in 10 ways as well ==>Total cases= \(9*10*10 = 900\)
For case 04 : 1st position can be filled in 9 ways ,2nd position in 10 ways & 3rd in 10 ways as well ==>Total cases= \(9*10*10 = 900\)

Hence , the total cases are \(1000 + 900 + 900 +900 = 3700\)........ Hence I would go for option D.
Attachments

Untitled.png
Untitled.png [ 9.44 KiB | Viewed 13753 times ]

User avatar
u1983
User avatar
Current Student
Joined: 24 Aug 2016
Last visit: 06 Jun 2021
Posts: 700
Own Kudos:
886
 [2]
Given Kudos: 97
GMAT 1: 540 Q49 V16
GMAT 2: 680 Q49 V33
Products:
GMAT 2: 680 Q49 V33
Posts: 700
Kudos: 886
 [2]
2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
u1983
Bunuel
How many positive five-digit integers contain the digit grouping “57” (in that order) at least once? For instance 30,457 and 20,574 are two such integers to include, but 30,475 and 20,754 do not meet the restrictions.

(A) 279

(B) 3,000

(C) 3,500

(D) 3,700

(E) 4,000

From The Picture 01 :

For case 01 : 3rd position can be filled in 10 ways ( available numbers 0,1,2,...9)... Similarly 4th position in 10 ways & 5th in 10 ways as well ==>Total cases= \(10*10*10 = 1000\)
For case 02 : 1st position can be filled in 9 ways ( if 0, the number is not 5-digit any more)... 4th position in 10 ways & 5th in 10 ways as well ==>Total cases= \(9*10*10 = 900\)
For case 03 : 1st position can be filled in 9 ways , 2nd position in 10 ways & 5th in 10 ways as well ==>Total cases= \(9*10*10 = 900\)
For case 04 : 1st position can be filled in 9 ways ,2nd position in 10 ways & 3rd in 10 ways as well ==>Total cases= \(9*10*10 = 900\)

Hence , the total cases are \(1000 + 900 + 900 +900 = 3700\)........ Hence I would go for option D.


Now the issue here is I have not considered a lot of cases . And thus I believe I am wrong . Experts please help.

From The Picture 'Cases Open for Discussion :

For case 01 : 3rd position can be filled in 10 ways ( available numbers 0,1,2,...9)... Similarly 4th position in 10 ways & 5th in 10 ways as well ==>Total cases= \(10*10*10 = 1000\).............. from here we need to exclude the cases where 57 at 3rd & 4th and 57 at 4th & 5th as these are to be considered at case 03 & case 04.
A. 57 at 3rd & 4th while 57 at 1st & 2nd = 10 ( 5th position can be filled with 0,1,....9 ==>10 ways)
B. 57 at 4th & 5th while 57 at 1st & 2nd = 10 ( 3rd position can be filled with 0,1,....9 ==>10 ways)
For case 02 : 1st position can be filled in 9 ways ( if 0, the number is not 5-digit any more)... 4th position in 10 ways & 5th in 10 ways as well ==>Total cases= \(9*10*10 = 900\).............. from here we need to exclude the case where 57 at 4th & 5th as these are to be considered at case 04.
C. 57 at 4th & 5th while 57 at 2nd & 3rd = 9 ( 1st position can be filled with 1,....9 ==>9 ways)
For case 03 : 1st position can be filled in 9 ways , 2nd position in 10 ways & 5th in 10 ways as well ==>Total cases= \(9*10*10 = 900\)
For case 04 : 1st position can be filled in 9 ways ,2nd position in 10 ways & 3rd in 10 ways as well ==>Total cases= \(9*10*10 = 900\)

Hence , the total overlapping cases are \(1000 + 900 + 900 +900 = 3700\)
Hence , the total overlapped cases are \(A + B + C = 10 + 10 + 9 =29\)
Hence total Unique cases : \(3700-29 = 3671\)............................................Might be the desired answer Please correct me if I am wrong
User avatar
Helium
Joined: 08 Jun 2013
Last visit: 01 Jun 2020
Posts: 451
Own Kudos:
826
 [1]
Given Kudos: 118
Location: France
GMAT 1: 200 Q1 V1
GPA: 3.82
WE:Consulting (Other)
GMAT 1: 200 Q1 V1
Posts: 451
Kudos: 826
 [1]
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
Bunuel
How many positive five-digit integers contain the digit grouping “57” (in that order) at least once? For instance 30,457 and 20,574 are two such integers to include, but 30,475 and 20,754 do not meet the restrictions.

(A) 279

(B) 3,000

(C) 3,500

(D) 3,700

(E) 4,000

"57" need to be treated as a group.

So We can consider that we require 4 digit number where one digit is group "57". Say Y represents that digit --> Y = "57"

Required number XXXY.

First digit can be selected in 10 ways. Same goes for 2 and 3 digit selection of required 4 digit number and digit Y can take 4 places.

i.e. YXXX , XYXX, XXYX, XXXY

so total 10*10*10*4 = 4000 such numbers.

But if the first digit is 0 then we don't have 5 digit number ( 4 digit number as per our working).

So let's subtract such cases.

0XXY or 0XYX or 0XXY

10 selections each for 2 X's and Y can take 3 places.

So total 10*10*3 = 300 cases.

Required answer = 4000 - 300 = 3700.

Option - D
User avatar
fskilnik
Joined: 12 Oct 2010
Last visit: 03 Jan 2025
Posts: 883
Own Kudos:
1,996
 [1]
Given Kudos: 57
Status:GMATH founder
Expert
Expert reply
Posts: 883
Kudos: 1,996
 [1]
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
Bunuel
How many positive five-digit integers contain the digit grouping “57” (in that order) at least once? For instance 30,457 and 20,574 are two such integers to include, but 30,475 and 20,754 do not meet the restrictions.

(A) 279

(B) 3,000

(C) 3,500

(D) 3,700

(E) 4,000
\(?\,\,:\,\,5{\rm{ - digit}}\,\,{\rm{positive}}\,\,{\rm{integers}}\,\,{\rm{with}}\,\,57{\rm{ - block}}\left( {\rm{s}} \right)\)

There are double-counting´s to be dealt with!

\(\eqalign{\\
& \left( {\rm{1}} \right)\,\,\,\underline 5 \,\,\, \underline 7 \,\,\, \underline {} \,\,\, \underline {} \,\,\, \underline {} \,\,\,\,\, \to \,\,\,\,{10^3}\,\,{\rm{ways}} \,\, \cr \\
& \left( {\rm{2}} \right)\,\,\,\underline {{\rm{not}}\,0} \,\,\, \underline 5 \,\,\, \underline 7 \,\,\, \underline {} \,\,\, \underline {} \,\,\,\,\, \to \,\,\,\,9 \cdot {10^2}\,\,{\rm{ways}} \,\, \cr \\
& \left. \matrix{\\
\left( {\rm{3}} \right)\,\,\,\underline {{\rm{not}}\,0} \,\,\, \underline {} \,\,\, \underline 5 \,\,\, \underline 7 \,\,\, \underline {} \,\,\,\,\, \to \,\,\,\,9 \cdot {10^2}\,\,{\rm{ways}} \hfill \cr \\
\left( - \right)\,\,\,\underline {\rm{5}} \,\,\, \underline 7 \,\,\, \underline 5 \,\,\, \underline 7 \,\,\, \underline {} \,\,\,\,\, \to \,\,\,\,10\,\,{\rm{ways}} \hfill \cr} \right\}\,\,\,\, \to \,\,\,\,\,890\,\,{\rm{ways}} \,\, \cr \\
& \left. \matrix{\\
\left( {\rm{4}} \right)\,\,\,\underline {{\rm{not}}\,0} \,\,\, \underline {} \,\,\, \underline {} \,\,\, \underline 5 \,\,\, \underline 7 \,\,\,\,\, \to \,\,\,\,9 \cdot {10^2}\,\,{\rm{ways}} \hfill \cr \\
\left( - \right)\,\,\,\underline {{\rm{not}}\,0} \,\,\, \underline 5 \,\,\, \underline 7 \,\,\, \underline 5 \,\,\, \underline 7 \,\,\,\,\, \to \,\,\,\,9\,\,{\rm{ways}} \hfill \cr \\
\left( - \right)\,\,\,\underline 5 \,\,\, \underline 7 \,\,\, \underline {} \,\,\, \underline 5 \,\,\, \underline 7 \,\,\,\,\, \to \,\,\,\,10\,\,{\rm{ways}} \hfill \cr} \right\}\,\,\,\, \to \,\,\,\,\,881\,\,{\rm{ways}} \cr}\)


\(? = 1000 + 900 + 890 + 881 = 3671\)


This solution follows the notations and rationale taught in the GMATH method.

Regards,
Fabio.
User avatar
Hellohello007
Joined: 21 Jun 2026
Last visit: 19 Sep 2026
Posts: 21
Own Kudos:
Given Kudos: 2
Products:
Posts: 21
Kudos: 2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hi Can you please tell why can it not appear thrice?

KarishmaB


Responding to a pm:

Reminds me of questions where two people must sit together.
I first make 57 take a position of the 4 available ones (1st, 2nd, 3rd or 4th)

Now there are two cases:

Case 1: 57 takes the first (and second) spot

57 _ _ _

We have 3 spots and 10 options for each so 10 *10 *10 = 1000 numbers


Case 2: 57 takes the second, third or fourth spots

_ 57 _ _ ; _ _ 57 _ ; _ _ _ 57

For the first spot, we have only 9 options (0 cannot be there since we need 5 digit numbers)
For the remaining 2 spots, we have 10 options each.
So total 900*3 = 2700 numbers

But we are double counting those cases in which 57 appears twice (It cannot appear thrice). e.g. the number 57573 is counted in case 1 as well as case 2. So we need to remove it once so that it is counted only once.

How many such cases are there? It is now a sub question: How many 5 digit numbers have two pairs of 57 in them?

We can place two 57s in the spots in the following cases:
1 and 3: 5757_ (10 such numbers)
1 and 4: 57 _ 57 (10 such numbers)
2 and 4: _ 5757 (9 such numbers)

So from 3700, we remove 29 numbers to get such 3671 numbers.

Answer: 3671 numbers

Check this video: https://youtu.be/LFnLKx06EMU
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 Sep 2026
Posts: 113,675
Own Kudos:
Given Kudos: 111,668
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 113,675
Kudos: 842,355
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hellohello007
Hi Can you please tell why can it not appear thrice?



Because the number has only 5 digits. Three separate “57” groups would require at least 6 digits:

575757

So “57” can appear at most twice.
Moderator:
Math Expert
113675 posts