Last visit was: 06 Oct 2024, 18:23 It is currently 06 Oct 2024, 18:23
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
SORT BY:
Date
Tags:
Show Tags
Hide Tags
Math Expert
Joined: 02 Sep 2009
Posts: 95949
Own Kudos [?]: 665789 [149]
Given Kudos: 87512
Send PM
Most Helpful Reply
Joined: 06 Oct 2019
Status:BELIEVE IN YOURSELF
Posts: 100
Own Kudos [?]: 180 [112]
Given Kudos: 90
Location: India
Send PM
Senior Moderator - Masters Forum
Joined: 19 Jan 2020
Posts: 3120
Own Kudos [?]: 2854 [19]
Given Kudos: 1510
Location: India
GPA: 4
WE:Analyst (Internet and New Media)
Send PM
General Discussion
LBS Moderator
Joined: 30 Oct 2019
Posts: 826
Own Kudos [?]: 798 [0]
Given Kudos: 1576
Send PM
Re: The digit 7 appears in how many of the first thousand positive integer [#permalink]
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!
Senior Moderator - Masters Forum
Joined: 19 Jan 2020
Posts: 3120
Own Kudos [?]: 2854 [2]
Given Kudos: 1510
Location: India
GPA: 4
WE:Analyst (Internet and New Media)
Send PM
Re: The digit 7 appears in how many of the first thousand positive integer [#permalink]
1
Kudos
1
Bookmarks
[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.
Math Expert
Joined: 02 Sep 2009
Posts: 95949
Own Kudos [?]: 665789 [1]
Given Kudos: 87512
Send PM
Re: The digit 7 appears in how many of the first thousand positive integer [#permalink]
1
Kudos
Expert Reply
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?"
Senior Moderator - Masters Forum
Joined: 19 Jan 2020
Posts: 3120
Own Kudos [?]: 2854 [1]
Given Kudos: 1510
Location: India
GPA: 4
WE:Analyst (Internet and New Media)
Send PM
The digit 7 appears in how many of the first thousand positive integer [#permalink]
1
Bookmarks
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. :)
Joined: 14 Dec 2019
Posts: 827
Own Kudos [?]: 919 [4]
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)
Send PM
Re: The digit 7 appears in how many of the first thousand positive integer [#permalink]
2
Kudos
2
Bookmarks
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
Kellogg School Moderator
Joined: 25 Aug 2015
Posts: 66
Own Kudos [?]: 93 [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
Send PM
The digit 7 appears in how many of the first thousand positive integer [#permalink]
2
Kudos
3
Bookmarks
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.
GMAT Club Legend
GMAT Club Legend
Joined: 18 Aug 2017
Status:You learn more from failure than from success.
Posts: 8079
Own Kudos [?]: 4369 [3]
Given Kudos: 243
Location: India
Concentration: Sustainability, Marketing
GMAT Focus 1:
545 Q79 V79 DI73
GPA: 4
WE:Marketing (Energy)
Send PM
Re: The digit 7 appears in how many of the first thousand positive integer [#permalink]
3
Kudos
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
Joined: 12 May 2019
Posts: 45
Own Kudos [?]: 8 [2]
Given Kudos: 56
Location: India
Concentration: Finance, Technology
WE:Operations (Telecommunications)
Send PM
The digit 7 appears in how many of the first thousand positive integer [#permalink]
2
Kudos
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
Joined: 10 Mar 2018
Posts: 2
Own Kudos [?]: 8 [7]
Given Kudos: 63
Send PM
Re: The digit 7 appears in how many of the first thousand positive integer [#permalink]
5
Kudos
2
Bookmarks
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
Target Test Prep Representative
Joined: 14 Oct 2015
Status:Founder & CEO
Affiliations: Target Test Prep
Posts: 19562
Own Kudos [?]: 23448 [10]
Given Kudos: 287
Location: United States (CA)
Send PM
Re: The digit 7 appears in how many of the first thousand positive integer [#permalink]
5
Kudos
5
Bookmarks
Expert Reply
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
Current Student
Joined: 21 Nov 2018
Posts: 25
Own Kudos [?]: 25 [2]
Given Kudos: 217
Location: Nigeria
Concentration: Finance, Entrepreneurship
GMAT 1: 680 Q43 V40
GPA: 3.9
WE:Analyst (Finance: Investment Banking)
Send PM
Re: The digit 7 appears in how many of the first thousand positive integer [#permalink]
2
Kudos
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\)
Joined: 06 Oct 2019
Status:BELIEVE IN YOURSELF
Posts: 100
Own Kudos [?]: 180 [2]
Given Kudos: 90
Location: India
Send PM
Re: The digit 7 appears in how many of the first thousand positive integer [#permalink]
2
Kudos
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 !!
Joined: 06 Jan 2015
Posts: 724
Own Kudos [?]: 1614 [0]
Given Kudos: 579
Location: India
Concentration: Operations, Finance
GPA: 3.35
WE:Information Technology (Computer Software)
Send PM
The digit 7 appears in how many of the first thousand positive integer [#permalink]
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?
Volunteer Expert
Joined: 16 May 2019
Posts: 3504
Own Kudos [?]: 7093 [1]
Given Kudos: 500
Re: The digit 7 appears in how many of the first thousand positive integer [#permalink]
Expert Reply
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
Joined: 16 Jun 2021
Posts: 969
Own Kudos [?]: 188 [0]
Given Kudos: 309
Send PM
Re: The digit 7 appears in how many of the first thousand positive integer [#permalink]
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

Total number of time 7 appears in units digit
=>7+n-1 * 10 =97
=>n=10

Total number of 7 occurs in tens place exluding that included in units digit =9

Therefore total number of times 7 occurs in units and tens digit =19*10 =190

In adddition we need to take into account the the appearence in hundreds digit which makes it more than 190
Therefore IMO E
Joined: 29 Oct 2021
Posts: 59
Own Kudos [?]: 34 [0]
Given Kudos: 280
Send PM
The digit 7 appears in how many of the first thousand positive integer [#permalink]
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\)
Math Expert
Joined: 02 Sep 2009
Posts: 95949
Own Kudos [?]: 665789 [2]
Given Kudos: 87512
Send PM
Re: The digit 7 appears in how many of the first thousand positive integer [#permalink]
1
Kudos
1
Bookmarks
Expert Reply
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.
GMAT Club Bot
Re: The digit 7 appears in how many of the first thousand positive integer [#permalink]
Moderator:
Math Expert
95949 posts