Last visit was: 22 Apr 2026, 01:44 It is currently 22 Apr 2026, 01:44
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
avatar
Asifpirlo
Joined: 10 Jul 2013
Last visit: 26 Jan 2014
Posts: 220
Own Kudos:
1,195
 [19]
Given Kudos: 102
Posts: 220
Kudos: 1,195
 [19]
3
Kudos
Add Kudos
16
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 22 Apr 2026
Posts: 109,740
Own Kudos:
810,524
 [7]
Given Kudos: 105,816
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,740
Kudos: 810,524
 [7]
3
Kudos
Add Kudos
4
Bookmarks
Bookmark this Post
General Discussion
avatar
Asifpirlo
Joined: 10 Jul 2013
Last visit: 26 Jan 2014
Posts: 220
Own Kudos:
Given Kudos: 102
Posts: 220
Kudos: 1,195
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
jlgdr
Joined: 06 Sep 2013
Last visit: 24 Jul 2015
Posts: 1,302
Own Kudos:
Given Kudos: 355
Concentration: Finance
Posts: 1,302
Kudos: 2,975
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
Asifpirlo
How many different positive integers exist between 10^6 and 10^7, the sum of whose digits is equal to 2?

A. 6
B. 7
C. 5
D. 8
E. 18

So, the numbers should be from 1,000,000 to 10,000,000

The following two cases are possible for the sum of the digits to be 2:
1. Two 1's and the rest are 0's:
1,000,001
1,000,010
1,000,100
1,001,000
1,010,000
1,100,000

6 numbers.

2. One 2 and the rest are 0's:
2,000,000

1 number.

Total = 7 numbers.

Answer: B.

Any chance we could do this with combinatorics approach instead of brute force counting?

Thanks
Cheers
J :)
User avatar
gmatacequants
Joined: 13 May 2014
Last visit: 03 Sep 2019
Posts: 26
Own Kudos:
263
 [2]
Given Kudos: 1
Concentration: General Management, Strategy
Posts: 26
Kudos: 263
 [2]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
jlgdr
Bunuel
Asifpirlo
How many different positive integers exist between 10^6 and 10^7, the sum of whose digits is equal to 2?

A. 6
B. 7
C. 5
D. 8
E. 18

So, the numbers should be from 1,000,000 to 10,000,000

The following two cases are possible for the sum of the digits to be 2:
1. Two 1's and the rest are 0's:
1,000,001
1,000,010
1,000,100
1,001,000
1,010,000
1,100,000

6 numbers.

2. One 2 and the rest are 0's:
2,000,000

1 number.

Total = 7 numbers.

Answer: B.

Any chance we could do this with combinatorics approach instead of brute force counting?

Thanks
Cheers
J :)

Hi J,

At least one part can be solved by systematic approach.
For the number to have the sum of 2, it needs two 1's as digits and rest 0's or one 2 as a digit and the rest 0's

Now for two 1's as digits and the rest 0's,
it should be b/w 10^6 and 10^7, i.e.
1 XXX,XXX -> the X designated places are to be filled by one 1 and five zeroes -> which can be done in 6 ways

Now for the number to contain 2 as a digit and the rest 0's,
it will occur when the number is 2,000,000 i.e 1 way
So, total 6+1 = 7 ways

Press kudos if you wish to appreciate
User avatar
Temurkhon
Joined: 23 Jan 2013
Last visit: 06 Apr 2019
Posts: 408
Own Kudos:
325
 [1]
Given Kudos: 43
Schools: Cambridge'16
Schools: Cambridge'16
Posts: 408
Kudos: 325
 [1]
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
I stupidly did 7!/2!*5! missing that the first 1 should be fixed. Correct way is that we have 6!/1!*5!=6 +1=7
User avatar
sajjad1995
Joined: 25 May 2021
Last visit: 11 Jan 2023
Posts: 29
Own Kudos:
Given Kudos: 17
Posts: 29
Kudos: 77
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Method 1 to solve this GMAT Number Properties Question: Find the number of such integers existing for a lower power of 10 and extrapolate the results.
Between 10 and 100, that is 101 and 102, we have 2 numbers, 11 and 20.

Between 100 and 1000, that is 102 and 103, we have 3 numbers, 101, 110 and 200.

Therefore, between 106 and 107, one will have 7 integers whose sum will be equal to 2.

Alternative approach
All numbers between 106 and 107 will be 7 digit numbers.
There are two possibilities if the sum of the digits has to be '2'.

Possibility 1: Two of the 7 digits are 1s and the remaining 5 are 0s.
The left most digit has to be one of the 1s. That leaves us with 6 places where the second 1 can appear.
So, a total of six 7-digit numbers comprising two 1s exist, sum of whose digits is '2'.

Possibility 2: One digit is 2 and the remaining are 0s.
The only possibility is 2000000.

Total count is the sum of the counts from these two possibilities = 6 + 1 = 7
Choice B is the correct answer.
User avatar
bumpbot
User avatar
Non-Human User
Joined: 09 Sep 2013
Last visit: 04 Jan 2021
Posts: 38,956
Own Kudos:
Posts: 38,956
Kudos: 1,117
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Automated notice from GMAT Club BumpBot:

A member just gave Kudos to this thread, showing it’s still useful. I’ve bumped it to the top so more people can benefit. Feel free to add your own questions or solutions.

This post was generated automatically.
Moderators:
Math Expert
109740 posts
Tuck School Moderator
853 posts