Last visit was: 25 Apr 2026, 02:56 It is currently 25 Apr 2026, 02:56
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: 25 Apr 2026
Posts: 109,822
Own Kudos:
Given Kudos: 105,878
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,822
Kudos: 811,134
 [25]
1
Kudos
Add Kudos
24
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
AOBang
Joined: 18 Jun 2019
Last visit: 11 Aug 2021
Posts: 11
Own Kudos:
78
 [15]
Given Kudos: 206
Location: Bangladesh
Concentration: Operations, International Business
Posts: 11
Kudos: 78
 [15]
11
Kudos
Add Kudos
4
Bookmarks
Bookmark this Post
User avatar
Archit3110
User avatar
Major Poster
Joined: 18 Aug 2017
Last visit: 25 Apr 2026
Posts: 8,630
Own Kudos:
5,190
 [10]
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)
Products:
GMAT Focus 2: 645 Q83 V82 DI81
Posts: 8,630
Kudos: 5,190
 [10]
7
Kudos
Add Kudos
3
Bookmarks
Bookmark this Post
General Discussion
User avatar
stne
Joined: 27 May 2012
Last visit: 25 Apr 2026
Posts: 1,810
Own Kudos:
Given Kudos: 679
Posts: 1,810
Kudos: 2,091
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Archit3110
Bunuel
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 ?
User avatar
Archit3110
User avatar
Major Poster
Joined: 18 Aug 2017
Last visit: 25 Apr 2026
Posts: 8,630
Own Kudos:
5,190
 [1]
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)
Products:
GMAT Focus 2: 645 Q83 V82 DI81
Posts: 8,630
Kudos: 5,190
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
stne
Archit3110
Bunuel
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 :)
User avatar
stne
Joined: 27 May 2012
Last visit: 25 Apr 2026
Posts: 1,810
Own Kudos:
Given Kudos: 679
Posts: 1,810
Kudos: 2,091
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Indeed my question is worthy of being laughed at, thanks man.
Careless me!
User avatar
RusskiyLev
Joined: 26 Mar 2019
Last visit: 26 Mar 2022
Posts: 62
Own Kudos:
106
 [3]
Given Kudos: 142
Location: Azerbaijan
Concentration: Finance, Strategy
GMAT 1: 730 Q50 V38
Products:
GMAT 1: 730 Q50 V38
Posts: 62
Kudos: 106
 [3]
2
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
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
avatar
vs224
Joined: 25 Jan 2013
Last visit: 05 Feb 2022
Posts: 29
Own Kudos:
Given Kudos: 5,909
Location: United States
Concentration: General Management, Entrepreneurship
Schools: Johnson '21
Schools: Johnson '21
Posts: 29
Kudos: 15
Kudos
Add Kudos
Bookmarks
Bookmark this Post
stne
Archit3110
Bunuel
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.
avatar
Vigasimrair
Joined: 06 Feb 2019
Last visit: 26 Mar 2021
Posts: 36
Own Kudos:
Given Kudos: 370
Location: Russian Federation
GMAT 1: 690 Q45 V40
GMAT 1: 690 Q45 V40
Posts: 36
Kudos: 36
Kudos
Add Kudos
Bookmarks
Bookmark this Post
RusskiyLev
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!
avatar
Vigasimrair
Joined: 06 Feb 2019
Last visit: 26 Mar 2021
Posts: 36
Own Kudos:
36
 [1]
Given Kudos: 370
Location: Russian Federation
GMAT 1: 690 Q45 V40
GMAT 1: 690 Q45 V40
Posts: 36
Kudos: 36
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Archit3110
Bunuel
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
User avatar
RusskiyLev
Joined: 26 Mar 2019
Last visit: 26 Mar 2022
Posts: 62
Own Kudos:
106
 [1]
Given Kudos: 142
Location: Azerbaijan
Concentration: Finance, Strategy
GMAT 1: 730 Q50 V38
Products:
GMAT 1: 730 Q50 V38
Posts: 62
Kudos: 106
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Vigasimrair
RusskiyLev
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!
User avatar
stne
Joined: 27 May 2012
Last visit: 25 Apr 2026
Posts: 1,810
Own Kudos:
Given Kudos: 679
Posts: 1,810
Kudos: 2,091
Kudos
Add Kudos
Bookmarks
Bookmark this Post
vs224
stne


(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
bumpbot
User avatar
Non-Human User
Joined: 09 Sep 2013
Last visit: 04 Jan 2021
Posts: 38,978
Own Kudos:
Posts: 38,978
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
109822 posts
Tuck School Moderator
853 posts