Last visit was: 18 Nov 2025, 14:17 It is currently 18 Nov 2025, 14:17
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: 18 Nov 2025
Posts: 105,355
Own Kudos:
Given Kudos: 99,964
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,355
Kudos: 778,062
 [265]
7
Kudos
Add Kudos
258
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
HouseStark
Joined: 06 Oct 2019
Last visit: 22 Jan 2021
Posts: 97
Own Kudos:
283
 [210]
Given Kudos: 90
Status:BELIEVE IN YOURSELF
Location: India
Posts: 97
Kudos: 283
 [210]
149
Kudos
Add Kudos
60
Bookmarks
Bookmark this Post
User avatar
yashikaaggarwal
User avatar
Senior Moderator - Masters Forum
Joined: 19 Jan 2020
Last visit: 17 Jul 2025
Posts: 3,086
Own Kudos:
3,102
 [28]
Given Kudos: 1,510
Location: India
GPA: 4
WE:Analyst (Internet and New Media)
Posts: 3,086
Kudos: 3,102
 [28]
18
Kudos
Add Kudos
10
Bookmarks
Bookmark this Post
General Discussion
User avatar
AnirudhaS
User avatar
LBS Moderator
Joined: 30 Oct 2019
Last visit: 25 Jun 2024
Posts: 811
Own Kudos:
Given Kudos: 1,575
Posts: 811
Kudos: 872
Kudos
Add Kudos
Bookmarks
Bookmark this Post
yashikaaggarwal
7 appearing only in unit digit till 100 = 9 times (7,17,27,37,47,57,67,87,97)

7 appearing only in tens digit is = 9 times (70,71,72,73,74,75,76,78,79)

7 appearing in both units as well as tens digit is = 1 (77)

Total 1+9+9=19 times till 100
19*10 till 1000 = 190 times.
Add: 100 times of when 7 appeared as hundreds digit (from 700 to 799)

190+100 =290

Bunuel Sir kindly check the options. Thank You.

Posted from my mobile device
Hi Yashika, the question asks 7 appears in how many positive integers. Which means in 777, you have 1 occurrence not 3. Does this make sense?

** Just speaking from personal experience, Bunuel is right about 99.99% of the time!
User avatar
yashikaaggarwal
User avatar
Senior Moderator - Masters Forum
Joined: 19 Jan 2020
Last visit: 17 Jul 2025
Posts: 3,086
Own Kudos:
3,102
 [2]
Given Kudos: 1,510
Location: India
GPA: 4
WE:Analyst (Internet and New Media)
Posts: 3,086
Kudos: 3,102
 [2]
1
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
[quote="AnirudhaS"][quote="yashikaaggarwal"]7 appearing only in unit digit till 100 = 9 times (7,17,27,37,47,57,67,87,97)

7 appearing only in tens digit is = 9 times (70,71,72,73,74,75,76,78,79)

7 appearing in both units as well as tens digit is = 1 (77)

Total 1+9+9=19 times till 100
19*10 till 1000 = 190 times.
Add: 100 times of when 7 appeared as hundreds digit (from 700 to 799)

190+100 =290

Bunuel Sir kindly check the options. Thank You.

[size=80][b][i]Posted from my mobile device[/i][/b][/size][/quote]
Hi Yashika, the question asks 7 appears in how many positive integers. Which means in 777, you have 1 occurrence not 3. Does this make sense?

** Just speaking from personal experience, [url=https://gmatclub.com:443/forum/memberlist.php?mode=viewprofile&un=Bunuel][b]Bunuel[/b][/url] is right about 99.99% of the time![/quote]

I personally love to solve Questions post by Sir, I am not saying he is wrong. Just put forward my doubt. As the question says how many times. So 777 will be considered as 3 times 7. As per mine knowledge.
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 18 Nov 2025
Posts: 105,355
Own Kudos:
778,062
 [1]
Given Kudos: 99,964
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,355
Kudos: 778,062
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
yashikaaggarwal
AnirudhaS
yashikaaggarwal
7 appearing only in unit digit till 100 = 9 times (7,17,27,37,47,57,67,87,97)

7 appearing only in tens digit is = 9 times (70,71,72,73,74,75,76,78,79)

7 appearing in both units as well as tens digit is = 1 (77)

Total 1+9+9=19 times till 100
19*10 till 1000 = 190 times.
Add: 100 times of when 7 appeared as hundreds digit (from 700 to 799)

190+100 =290

Bunuel Sir kindly check the options. Thank You.

Posted from my mobile device
Hi Yashika, the question asks 7 appears in how many positive integers. Which means in 777, you have 1 occurrence not 3. Does this make sense?

** Just speaking from personal experience, Bunuel is right about 99.99% of the time!

I personally love to solve Questions post by Sir, I am not saying he is wrong. Just put forward my doubt. As the question says how many times. So 777 will be considered as 3 times 7. As per mine knowledge.

I think the question means something else. It does not say "how many times..." It says "...in how many ... integers?"
User avatar
yashikaaggarwal
User avatar
Senior Moderator - Masters Forum
Joined: 19 Jan 2020
Last visit: 17 Jul 2025
Posts: 3,086
Own Kudos:
3,102
 [1]
Given Kudos: 1,510
Location: India
GPA: 4
WE:Analyst (Internet and New Media)
Posts: 3,086
Kudos: 3,102
 [1]
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
Bunuel
yashikaaggarwal
AnirudhaS
yashikaaggarwal
7 appearing only in unit digit till 100 = 9 times (7,17,27,37,47,57,67,87,97)

7 appearing only in tens digit is = 9 times (70,71,72,73,74,75,76,78,79)

7 appearing in both units as well as tens digit is = 1 (77)

Total 1+9+9=19 times till 100
19*10 till 1000 = 190 times.
Add: 100 times of when 7 appeared as hundreds digit (from 700 to 799)

190+100 =290

Bunuel Sir kindly check the options. Thank You.

Posted from my mobile device
Hi Yashika, the question asks 7 appears in how many positive integers. Which means in 777, you have 1 occurrence not 3. Does this make sense?

** Just speaking from personal experience, Bunuel is right about 99.99% of the time!

I personally love to solve Questions post by Sir, I am not saying he is wrong. Just put forward my doubt. As the question says how many times. So 777 will be considered as 3 times 7. As per mine knowledge.

I think the question means something else. It does not say "how many times..." It says "...in how many ... integers?"

Got It, the digits in 700 category will create redundancy. Thank You sir. :)
User avatar
shameekv1989
Joined: 14 Dec 2019
Last visit: 17 Jun 2021
Posts: 820
Own Kudos:
986
 [7]
Given Kudos: 354
Location: Poland
Concentration: Entrepreneurship, Strategy
GMAT 1: 640 Q49 V27
GMAT 2: 660 Q49 V31
GMAT 3: 720 Q50 V38
GPA: 4
WE:Engineering (Consumer Electronics)
Products:
GMAT 3: 720 Q50 V38
Posts: 820
Kudos: 986
 [7]
4
Kudos
Add Kudos
3
Bookmarks
Bookmark this Post
Bunuel
The digit 7 appears in how many of the first thousand positive integers?

A. 143
B. 152
C. 171
D. 190
E. 271


PS20404

7 will appear in 19 integers from 0-99 and similarly will appear in 100-199 ... 900-999 except for the range 700-799 (all will include digit 7)

Thus total integers = 19*9 + 100 = 171+100 = 271

Answer - E
User avatar
Siak0730
User avatar
Kellogg School Moderator
Joined: 25 Aug 2015
Last visit: 16 Jul 2025
Posts: 65
Own Kudos:
96
 [5]
Given Kudos: 81
Location: India
Schools: ISB '25 (A)
GMAT Focus 1: 655 Q85 V82 DI80
GMAT 1: 640 Q50 V26
GMAT 2: 660 Q47 V34
GPA: 3.0
Schools: ISB '25 (A)
GMAT Focus 1: 655 Q85 V82 DI80
GMAT 2: 660 Q47 V34
Posts: 65
Kudos: 96
 [5]
2
Kudos
Add Kudos
3
Bookmarks
Bookmark this Post
how many of the first thousand positive integers = 1- 1000
Q: The digit 7 appears in how many of the first thousand positive integers?
to find : numbers of integers from 1-1000, that have atleast 1 digit as 7.

lets take 1-100
7, 17, 27, 37, 47, 57, 67, 70-79, 87, 97 = 19

100-200
107, 117, 127, 137, 147, 157, 167, 170-179, 187, 197 = 19
similarly, 200-300, 300-400, 400-500, 500-600, 600-699, 800-900, 900-1000 will each have 19 integers.


700-799
701, 702, 703......, 798, 799 =100

total
1-100 = 19
101-699= 6*19
800-1000= 2*19
700-799= 100
====> 19+ 6*19+ 2*19+100= 19*9 +100= 171+100=271.
User avatar
Archit3110
User avatar
Major Poster
Joined: 18 Aug 2017
Last visit: 18 Nov 2025
Posts: 8,423
Own Kudos:
4,979
 [3]
Given Kudos: 243
Status:You learn more from failure than from success.
Location: India
Concentration: Sustainability, Marketing
GMAT Focus 1: 545 Q79 V79 DI73
GMAT Focus 2: 645 Q83 V82 DI81
GPA: 4
WE:Marketing (Energy)
GMAT Focus 2: 645 Q83 V82 DI81
Posts: 8,423
Kudos: 4,979
 [3]
3
Kudos
Add Kudos
Bookmarks
Bookmark this Post
solve using combinatrics

target is find digit 7 from 1- 1000
so from 1-10 ; 1
from 10-99; ( 8*9) ; 72 ; 90 is total 2 digits ; so 90-72 ; 18
and from 100-999; ( 8*9*9) ; 648 ; total 3 digits are ( 999-100+1= 900) so with 7 digit ; 900-648 ; 252

total 7 digit appears ; 252+18+1 ; 271
OPTION E


Bunuel
The digit 7 appears in how many of the first thousand positive integers?

A. 143
B. 152
C. 171
D. 190
E. 271


PS20404
avatar
theleopride
Joined: 12 May 2019
Last visit: 29 Mar 2022
Posts: 45
Own Kudos:
9
 [3]
Given Kudos: 56
Location: India
Concentration: Finance, Technology
WE:Operations (Telecommunications)
Posts: 45
Kudos: 9
 [3]
2
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
Bunuel
The digit 7 appears in how many of the first thousand positive integers?

A. 143
B. 152
C. 171
D. 190
E. 271


PS20404

Note : This question is basically asking us to find the total number of integers between 1-1000 which has atleast one '7' as a digit. This question is NOT asking us to count the total number of 7s in the integers between 1 -1000.


There are 19 integers between 1-99 which has '7' as a digit in it :

7, 17,27,37,47,57,67,70,71,72,73,74,75,76,77,78,79,87,97

Consequently, 100-199,200-299,300-399,400-499,500-599,600-699 has 19*6 integers in each case which has the digit 7 in it.

700-799 has 100 integers with 7s in it.

Subsequently, numbers 800-899 and numbers 900-999 has a total of 19*2 integers which has a 7 in it.

Therefore, total number of integers between 1-1000 which has at least one 7 in it is 19*9 + 100 = 271

Answer : E
avatar
YogeshSinghal50
Joined: 10 Mar 2018
Last visit: 02 Sep 2020
Posts: 2
Own Kudos:
11
 [10]
Given Kudos: 63
Posts: 2
Kudos: 11
 [10]
8
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
A more easy approach would be to fix the position of 7

1) 7 fixed at hundreds place would give : 7_ _ : 100 possible numbers

2) 7 Fixed at tens place would give : _ 7 _ : 10(numbers that can take ones place) x 9 (numbers that can take hundreds place excluding 7) = 90 possible numbers

3) 7 fixed at ones place would give : _ _ 7 : 9(numbers that can take hundred place excluding 7) x 9(numbers that can take tens place excluding 7) = 81 possible numbers

= 1 +2 +3

= 100 + 90 + 81

= 271
User avatar
ScottTargetTestPrep
User avatar
Target Test Prep Representative
Joined: 14 Oct 2015
Last visit: 18 Nov 2025
Posts: 21,712
Own Kudos:
26,989
 [14]
Given Kudos: 300
Status:Founder & CEO
Affiliations: Target Test Prep
Location: United States (CA)
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 21,712
Kudos: 26,989
 [14]
8
Kudos
Add Kudos
6
Bookmarks
Bookmark this Post
Bunuel
The digit 7 appears in how many of the first thousand positive integers?

A. 143
B. 152
C. 171
D. 190
E. 271



Solution:

In each of the hundreds (i.e., 1-99, 100s, 200s, etc.) of the first 1000 positive integers, except for the 700s, the digit 7 appears in 19 integers, either as the units digit or the tens digit or both. In the 700s, 7 appears in every integer; therefore, the total number of integers that has (at least) one digit of 7 is:

9 x 19 + 100 = 171 + 100 = 271

Answer: E
User avatar
SvelteNigerian
User avatar
Current Student
Joined: 21 Nov 2018
Last visit: 19 Feb 2022
Posts: 24
Own Kudos:
26
 [2]
Given Kudos: 216
Location: Nigeria
Concentration: Finance, Entrepreneurship
GMAT 1: 680 Q43 V40
GPA: 3.9
WE:Analyst (Finance: Investment Banking)
GMAT 1: 680 Q43 V40
Posts: 24
Kudos: 26
 [2]
2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Could you please explain how you got the 9

Thanks

HouseStark
Bunuel
The digit 7 appears in how many of the first thousand positive integers?

A. 143
B. 152
C. 171
D. 190
E. 271


PS20404

TOOK 30 SEC TO SOLVE THIS

TOTAL NO. = 1000
NO. OF INTEGERS IN WHICH 7 DOESN'T APPEAR = 9*9*9=729

NO. OF INTEGER IN WHICH 7 APPEAR= \(1000-729=271\)
User avatar
HouseStark
Joined: 06 Oct 2019
Last visit: 22 Jan 2021
Posts: 97
Own Kudos:
283
 [2]
Given Kudos: 90
Status:BELIEVE IN YOURSELF
Location: India
Posts: 97
Kudos: 283
 [2]
2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
OmotayoH
Could you please explain how you got the 9

Thanks

HouseStark
Bunuel
The digit 7 appears in how many of the first thousand positive integers?

A. 143
B. 152
C. 171
D. 190
E. 271


PS20404


TOOK 30 SEC TO SOLVE THIS

TOTAL NO. = 1000
NO. OF INTEGERS IN WHICH 7 DOESN'T APPEAR = 9*9*9=729

NO. OF INTEGER IN WHICH 7 APPEAR= \(1000-729=271\)

The unit place can have any 9 values ( 0 to 9 except 7 i.e 0,1,2,3,4,5,6,8,9)
the same goes for tens and hundreds places(0 to 9 except 7)

hope you understand !!
User avatar
NandishSS
Joined: 06 Jan 2015
Last visit: 28 Jan 2021
Posts: 720
Own Kudos:
Given Kudos: 579
Location: India
Concentration: Operations, Finance
GPA: 3.35
WE:Information Technology (Computer Software)
Posts: 720
Kudos: 1,721
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Quote:
The digit 7 appears in how many of the first thousand positive integers?

A. 143
B. 152
C. 171
D. 190
E. 271

HI GMATGuruNY , AndrewN , GMATCoachBen, TestPrepUnlimited

Can you help me with this question?

So from 0-1 = 7
From 10-99 = 8*1 except 70-79 = 10

Total 1+8+10 =19
So similarly 100-999?
avatar
AndrewN
avatar
Volunteer Expert
Joined: 16 May 2019
Last visit: 29 Mar 2025
Posts: 3,502
Own Kudos:
7,510
 [1]
Given Kudos: 500
Expert
Expert reply
Posts: 3,502
Kudos: 7,510
 [1]
Kudos
Add Kudos
Bookmarks
Bookmark this Post
NandishSS
Quote:
The digit 7 appears in how many of the first thousand positive integers?

A. 143
B. 152
C. 171
D. 190
E. 271

HI GMATGuruNY , AndrewN , GMATCoachBen, TestPrepUnlimited

Can you help me with this question?

So from 0-1 = 7
From 10-99 = 8*1 except 70-79 = 10

Total 1+8+10 =19
So similarly 100-999?
Almost, NandishSS. Your rationale would lead to (D), 190. You cannot forget that every integer between 700 and 799, inclusive, will include a 7. Thus, you can take your 19 and multiply by 9 (accounting for the ranges 1-699 and 800-1000), then add in the extra 100 integers that include a 7 within the other range. The answer will be (E).

I hope that helps. Thank you for thinking to ask me about the question.

- Andrew
User avatar
nazii
Joined: 29 Oct 2021
Last visit: 04 Aug 2025
Posts: 53
Own Kudos:
Given Kudos: 279
Posts: 53
Kudos: 67
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hello my friend
But in the unit place 0 can not be !
so I think 8 digit are verified to place at unit . (1,2,3,4,5,6,8,9)! can you help on your approcach?
Dear Bunuel
can we solve this problem by this approach?
I didn't see your response on this post, would you pls your approach on this question pls?
HouseStark
Bunuel
The digit 7 appears in how many of the first thousand positive integers?

A. 143
B. 152
C. 171
D. 190
E. 271


PS20404

TOOK 30 SEC TO SOLVE THIS

TOTAL NO. = 1000
NO. OF INTEGERS IN WHICH 7 DOESN'T APPEAR = 9*9*9=729

NO. OF INTEGER IN WHICH 7 APPEAR= \(1000-729=271\)
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 18 Nov 2025
Posts: 105,355
Own Kudos:
778,062
 [3]
Given Kudos: 99,964
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,355
Kudos: 778,062
 [3]
2
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
nazii
Hello my friend
But in the unit place 0 can not be !
so I think 8 digit are verified to place at unit . (1,2,3,4,5,6,8,9)! can you help on your approcach?
Dear Bunuel
can we solve this problem by this approach?
I didn't see your response on this post, would you pls your approach on this question pls?
HouseStark
Bunuel
The digit 7 appears in how many of the first thousand positive integers?

A. 143
B. 152
C. 171
D. 190
E. 271


PS20404

TOOK 30 SEC TO SOLVE THIS

TOTAL NO. = 1000
NO. OF INTEGERS IN WHICH 7 DOESN'T APPEAR = 9*9*9=729

NO. OF INTEGER IN WHICH 7 APPEAR= \(1000-729=271\)


While this approach leads to the correct answer, it's not entirely accurate.

Consider the sequence of numbers written as follows:
000, 001, 002, ..., 999.

In this case, the total count of numbers from 0 to 999 is represented by 10x10x10, as each digit can take 10 values from 0 to 9. To find the count of numbers that do not contain the digit 7, we subtract the count of such numbers (9x9x9) from this total, giving us the count of numbers from 0 to 999 that include the digit 7.

However, there's a subtle detail to consider: the total count of 1,000 numbers includes 0, which shouldn't be counted as it's not a positive integer, and excludes 1,000, which should be included. Fortunately, these two omissions balance each other out, so we still arrive at the correct count of total numbers, which is 1,000.

Similarly, in calculating the count of numbers without the digit 7, we include 0 (which we shouldn't) and exclude 1,000 (which we should include). Yet, these two factors again balance each other out, ensuring that our final count of numbers without the digit 7 remains accurate.

Therefore, the final calculation of 10^3 - 9^3 is accurate but with the caveat mentioned above.

Hope it's clear.
User avatar
GGGMAT2
Joined: 26 Oct 2024
Last visit: 09 Jun 2025
Posts: 68
Own Kudos:
Given Kudos: 153
Posts: 68
Kudos: 15
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel I took this approach to solve the Q.

Please let me know what's wrong with the approach. Apologies, I am unable to figure out the problem with my approach by going through the solutions provided.

The number of 1 digit integers that can have 7 is 1

The number of 2 digit integers where 7 occupies the one's place 9X1 = 9
The number of 2 digit integers where 7 occupies the tens's place 1X10 = 10
However, with this we have counted 77 twice, so total numbers would be 9 + 10 - 1 = 18.

The number of 3 digit integers where 7 occupies the one's place 9X10X1 = 90
The number of 3 digit integers where 7 occupies the tens's place 9X1X10 = 90
The number of 3 digit integers where 7 occupies the hundred's place 1X10X10 = 100
However, with this we have counted 777 thrice, so total numbers would be 90 + 90 + 100 - 2 = 278.

Total number of integers are 1 + 18 + 278 = 297
 1   2   
Moderators:
Math Expert
105355 posts
Tuck School Moderator
805 posts