Last visit was: 26 Apr 2024, 02:15 It is currently 26 Apr 2024, 02:15

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:
Kudos
Tags:
Show Tags
Hide Tags
Math Expert
Joined: 02 Sep 2009
Posts: 92929
Own Kudos [?]: 619095 [22]
Given Kudos: 81609
Send PM
Most Helpful Reply
Intern
Intern
Joined: 18 Jun 2019
Posts: 12
Own Kudos [?]: 60 [10]
Given Kudos: 206
Location: Bangladesh
Concentration: Operations, International Business
Send PM
GMAT Club Legend
GMAT Club Legend
Joined: 18 Aug 2017
Status:You learn more from failure than from success.
Posts: 8020
Own Kudos [?]: 4098 [10]
Given Kudos: 242
Location: India
Concentration: Sustainability, Marketing
GMAT Focus 1:
545 Q79 V79 DI73
GPA: 4
WE:Marketing (Energy and Utilities)
Send PM
General Discussion
Manager
Manager
Joined: 26 Mar 2019
Posts: 69
Own Kudos [?]: 104 [3]
Given Kudos: 142
Location: Azerbaijan
Concentration: Finance, Strategy
GMAT 1: 730 Q50 V38
Send PM
How many positive integers less than or equal to 2017 contain the digi [#permalink]
2
Kudos
1
Bookmarks
Quote:
How many positive integers less than or equal to 2017 contain the digit 0?


It is a tricky question! And requires a lot of attention! We are given that 0 < n =< 2017 and we need to find the number of "n"s which contain 0s.
First of all, let us count the numbers where last digit is 0: 10, 20, 30, ... 80, 90, 100 There are 10 such numbers in every hundred of numbers. As our maximum value is 2017 (n =< 2017), we have 20 hundreds, thus 10 * 20 = 200
Let us now count numbers where tens digit is 0: 101, 102, 103, ... 108, 109. We do not include here the number 100, since it was already captured in the previous calculation. The number of 0s here is 9, and we again multiply it by 20 using the same principle described above: 20 * 9 = 180
Now let us count numbers where hundreds digit is 0: 1000, 1001, 1002, 1003, ... 1008, 1009. Now, we know that these numbers extend till number 1099, and the next occasion is number 2000. Till number 1099, there are 100 numbers, but let us not forget about 10 numbers calculated already in the 1st step, and 9 numbers in the 2nd step. 100 - 10 - 9 = 81. In addition, we have 8 numbers in 2000s: 2010, 2011, 2012, ... 2016, 2017.
Now let us sum all these numbers:
200 + 180 + 81 + 8 = 469

Answer: A

Originally posted by RusskiyLev on 13 Jul 2019, 14:17.
Last edited by RusskiyLev on 15 Jul 2019, 05:18, edited 1 time in total.
GMAT Club Legend
GMAT Club Legend
Joined: 18 Aug 2017
Status:You learn more from failure than from success.
Posts: 8020
Own Kudos [?]: 4098 [1]
Given Kudos: 242
Location: India
Concentration: Sustainability, Marketing
GMAT Focus 1:
545 Q79 V79 DI73
GPA: 4
WE:Marketing (Energy and Utilities)
Send PM
Re: How many positive integers less than or equal to 2017 contain the digi [#permalink]
1
Kudos
stne wrote:
Archit3110 wrote:
Bunuel wrote:
How many positive integers less than or equal to 2017 contain the digit 0?

(A) 469
(B) 471
(C) 475
(D) 478
(E) 481


total integers 2017
unit digit except 0 ; 9
2 diigt no except 0 ; 9*9
and 3 digit no except 0 ; 9^3
and 4 digit no starting with 1 ; 1 * 9^3 ; 729
2017-9-81-729-729 ; 469
IMO A


What is the logic of subtracting the 729 second time ?
Can you elaborate ?

stne
3 and 4 digit no ; would both by 729 :)
Intern
Intern
Joined: 06 Feb 2019
Posts: 40
Own Kudos [?]: 34 [1]
Given Kudos: 370
Location: Russian Federation
GMAT 1: 690 Q45 V40
Send PM
Re: How many positive integers less than or equal to 2017 contain the digi [#permalink]
1
Kudos
Archit3110 wrote:
Bunuel wrote:
How many positive integers less than or equal to 2017 contain the digit 0?

(A) 469
(B) 471
(C) 475
(D) 478
(E) 481


total integers 2017
unit digit except 0 ; 9
2 diigt no except 0 ; 9*9
and 3 digit no except 0 ; 9^3
and 4 digit no starting with 1 ; 1 * 9^3 ; 729
2017-9-81-729-729 ; 469
IMO A


fantastic and elegant solution, thank you
Manager
Manager
Joined: 26 Mar 2019
Posts: 69
Own Kudos [?]: 104 [1]
Given Kudos: 142
Location: Azerbaijan
Concentration: Finance, Strategy
GMAT 1: 730 Q50 V38
Send PM
Re: How many positive integers less than or equal to 2017 contain the digi [#permalink]
1
Kudos
Vigasimrair wrote:
RusskiyLev wrote:
Quote:
How many positive integers less than or equal to 2017 contain the digit 0?


It is a tricky question! And requires a lot of attention! We are given that 0 < n < 2017 and we need to find the number of "n"s which contain 0s.
First of all, let us count the numbers where last digit is 0: 10, 20, 30, ... 80, 90, 100 There are 10 such numbers in every hundred of numbers. As our maximum value is 2016 (n < 2017), we have 20 hundreds, thus 10 * 20 = 200
Let us now count numbers where tens digit is 0: 101, 102, 103, ... 108, 109. We do not include here the number 100, since it was already captured in the previous calculation. The number of 0s here is 9, and we again multiply it by 20 using the same principle described above: 20 * 9 = 180
Now let us count numbers where hundreds digit is 0: 1001, 1002, 1003, ... 1008, 1009. Now, we know that these numbers extend till number 1099, and the next occasion is number 2000. Till number 1099, there are 99 numbers, but let us not forget about 10 numbers calculated already in the 1st step, and 9 numbers in the 2nd step. 99 - 10 - 9 = 80. In addition, we have 9 numbers in 2000s: 2001, 2002, 2003, ... 2008, 2009.
Now let us sum all these numbers:
200 + 180 + 80 + 9 = 469

Answer: A



RusskiyLev may you please clarify: why numbers which were counted on the 2nd step (0 - tens digit) do not include 2001...2009 (which you've counted on the last step)
thanks a lot!


Vigasimrair, You are correct, I made a mistake in the explanation, and I have already edited it. These numbers were actually counted in the second step, and in the last step we should have counted the numbers 2010 - 2017. Thanks for noting!
SVP
SVP
Joined: 27 May 2012
Posts: 1680
Own Kudos [?]: 1424 [0]
Given Kudos: 632
Send PM
Re: How many positive integers less than or equal to 2017 contain the digi [#permalink]
Archit3110 wrote:
Bunuel wrote:
How many positive integers less than or equal to 2017 contain the digit 0?

(A) 469
(B) 471
(C) 475
(D) 478
(E) 481


total integers 2017
unit digit except 0 ; 9
2 diigt no except 0 ; 9*9
and 3 digit no except 0 ; 9^3
and 4 digit no starting with 1 ; 1 * 9^3 ; 729
2017-9-81-729-729 ; 469
IMO A


What is the logic of subtracting the 729 second time ?
Can you elaborate ?
SVP
SVP
Joined: 27 May 2012
Posts: 1680
Own Kudos [?]: 1424 [0]
Given Kudos: 632
Send PM
Re: How many positive integers less than or equal to 2017 contain the digi [#permalink]
Indeed my question is worthy of being laughed at, thanks man.
Careless me!
Intern
Intern
Joined: 25 Jan 2013
Posts: 30
Own Kudos [?]: 14 [0]
Given Kudos: 5909
Location: United States
Concentration: General Management, Entrepreneurship
Schools: Johnson '21
Send PM
Re: How many positive integers less than or equal to 2017 contain the digi [#permalink]
stne wrote:
Archit3110 wrote:
Bunuel wrote:
How many positive integers less than or equal to 2017 contain the digit 0?

(A) 469
(B) 471
(C) 475
(D) 478
(E) 481


total integers 2017
unit digit except 0 ; 9
2 diigt no except 0 ; 9*9
and 3 digit no except 0 ; 9^3
and 4 digit no starting with 1 ; 1 * 9^3 ; 729
2017-9-81-729-729 ; 469
IMO A


What is the logic of subtracting the 729 second time ?
Can you elaborate ?


If 4 digit number starting with 1 is 729. How 2000, 2001, .. 2017 are included in it.
Intern
Intern
Joined: 06 Feb 2019
Posts: 40
Own Kudos [?]: 34 [0]
Given Kudos: 370
Location: Russian Federation
GMAT 1: 690 Q45 V40
Send PM
Re: How many positive integers less than or equal to 2017 contain the digi [#permalink]
RusskiyLev wrote:
Quote:
How many positive integers less than or equal to 2017 contain the digit 0?


It is a tricky question! And requires a lot of attention! We are given that 0 < n < 2017 and we need to find the number of "n"s which contain 0s.
First of all, let us count the numbers where last digit is 0: 10, 20, 30, ... 80, 90, 100 There are 10 such numbers in every hundred of numbers. As our maximum value is 2016 (n < 2017), we have 20 hundreds, thus 10 * 20 = 200
Let us now count numbers where tens digit is 0: 101, 102, 103, ... 108, 109. We do not include here the number 100, since it was already captured in the previous calculation. The number of 0s here is 9, and we again multiply it by 20 using the same principle described above: 20 * 9 = 180
Now let us count numbers where hundreds digit is 0: 1001, 1002, 1003, ... 1008, 1009. Now, we know that these numbers extend till number 1099, and the next occasion is number 2000. Till number 1099, there are 99 numbers, but let us not forget about 10 numbers calculated already in the 1st step, and 9 numbers in the 2nd step. 99 - 10 - 9 = 80. In addition, we have 9 numbers in 2000s: 2001, 2002, 2003, ... 2008, 2009.
Now let us sum all these numbers:
200 + 180 + 80 + 9 = 469

Answer: A



RusskiyLev may you please clarify: why numbers which were counted on the 2nd step (0 - tens digit) do not include 2001...2009 (which you've counted on the last step)
thanks a lot!
SVP
SVP
Joined: 27 May 2012
Posts: 1680
Own Kudos [?]: 1424 [0]
Given Kudos: 632
Send PM
How many positive integers less than or equal to 2017 contain the digi [#permalink]
vs224 wrote:
stne wrote:

(A) 469
(B) 471
(C) 475
(D) 478
(E) 481

total integers 2017
unit digit except 0 ; 9
2 diigt no except 0 ; 9*9
and 3 digit no except 0 ; 9^3
and 4 digit no starting with 1 ; 1 * 9^3 ; 729
2017-9-81-729-729 ; 469
IMO A

What is the logic of subtracting the 729 second time ?
Can you elaborate ?


If 4 digit number starting with 1 is 729. How 2000, 2001, .. 2017 are included in it.


Hi vs224,

Actually 2001 ........2017 are NOT included. Which means ,all numbers NOT including 0 have been subtracted and then what we are left with are the numbers that include zero.

One digit numbers EXCLUDING zero - 1,2,3,4,5,6,7,8,9 Total nine such numbers.
Two digit numbers EXCLUDING zero- 12,12,13...........99 Total 81 such numbers ( 9 options for the unit digit and nine options for the tens digit , hence 9*9 =81)
Three digit numbers EXCLUDING zero-111......999 ( 9*9*9=729)
For Four digit numbers EXCLUDING zero , there are two categories ,
1) Those starting with 1 , of the form 1000 - 1999 to remove all that,which do not contain zero, we do 1*9*9*9 here for the left most digit we have only one option,i.e. 1
for hundreds digit we have nine options , because we cannot include 0, hence 1 to 9 similarly for the tens and units digit.
Hence total 4 digit numbers not including 0 and beginning with one are 1*9*9*9=729

2) Those starting with 2, of the form 2000-2999, but note, we are only asked till 2017, hence from 2000-2017 all numbers actually include zero. So nothing to subtract here.

So total positive numbers that do NOT include the digit zero and are less than or equal to 2017 are
9+81+729+729=1578
Hence total positive numbers that include the digit zero in them, and are less than or equal to 2017 are 2017-1578 =469
Hope it's clear.

Please let me know if anything is still unclear, thanks.
User avatar
Non-Human User
Joined: 09 Sep 2013
Posts: 32678
Own Kudos [?]: 822 [0]
Given Kudos: 0
Send PM
Re: How many positive integers less than or equal to 2017 contain the digi [#permalink]
Hello from the GMAT Club BumpBot!

Thanks to another GMAT Club member, I have just discovered this valuable topic, yet it had no discussion for over a year. I am now bumping it up - doing my job. I think you may find it valuable (esp those replies with Kudos).

Want to see all other topics I dig out? Follow me (click follow button on profile). You will receive a summary of all topics I bump in your profile area as well as via email.
GMAT Club Bot
Re: How many positive integers less than or equal to 2017 contain the digi [#permalink]
Moderators:
Math Expert
92921 posts
Senior Moderator - Masters Forum
3137 posts

Powered by phpBB © phpBB Group | Emoji artwork provided by EmojiOne