Last visit was: 03 May 2024, 09:55 It is currently 03 May 2024, 09:55

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: 93025
Own Kudos [?]: 620945 [29]
Given Kudos: 81742
Send PM
Most Helpful Reply
Senior Manager
Senior Manager
Joined: 24 Apr 2016
Posts: 255
Own Kudos [?]: 684 [9]
Given Kudos: 48
Send PM
Math Expert
Joined: 02 Sep 2009
Posts: 93025
Own Kudos [?]: 620945 [9]
Given Kudos: 81742
Send PM
General Discussion
Current Student
Joined: 18 Aug 2016
Posts: 531
Own Kudos [?]: 577 [1]
Given Kudos: 198
Concentration: Strategy, Technology
GMAT 1: 630 Q47 V29
GMAT 2: 740 Q51 V38
Send PM
Re: How many positive integers less than 2 x 10^4 are there in which each [#permalink]
1
Bookmarks
Bunuel wrote:
How many positive integers less than 2*10^4 are there in which each digit is a prime number?

(A) 256
(B) 326
(C) 340
(D) 625
(E) 775


20000 (5 digits)
No number can be formed of 5 digits as 1 is not a prime number and at First place only Prime number 2 can come

single digit prime numbers are
2,3,5,7
4 digit numbers with prime numbers will be
So 4^4 = 256
3 digit numbers with prime numbers will be
4^3 = 64
2 digit numbers with prime numbers will be
4^2 = 16
1 digit numbers with prime numbers will be
4
Total = 256 + 64 + 16 + 4 = 340

C
Manager
Manager
Joined: 19 Oct 2012
Posts: 222
Own Kudos [?]: 538 [1]
Given Kudos: 103
Location: India
Concentration: General Management, Operations
GMAT 1: 660 Q47 V35
GMAT 2: 710 Q50 V38
GPA: 3.81
WE:Information Technology (Computer Software)
Send PM
How many positive integers less than 2 x 10^4 are there in which each [#permalink]
1
Bookmarks
Numbers less than 20,000 will have 5 digits or less.
This is a generic representation of this number: _ _ _ _ _
Clearly, we can't have a prime number for the 1st place since that would take the value more than 20k. Therefore, we start with 2nd place and so on. We can have only 2,3,5,7 as single digit prime numbers filling in the places.
So for a 4 digits number: we have 4 options for each digit. This gives us \(4 . 4 . 4 . 4 = 256\) possible numbers.
And for a 3 digits number: we have 4 options for each digit. This gives us \(4 . 4 . 4 = 64\) possible numbers.
And for a 2 digits number: we have 4 options for each digit. This gives us \(4 . 4 = 16\) possible numbers.
And for a 1 digit number: we have 4 options for the digit. This gives us \(4 . 1 = 4\) possible numbers.
Adding all possible numbers, we get 340. Hence C.
Current Student
Joined: 02 Jul 2017
Posts: 235
Own Kudos [?]: 291 [2]
Given Kudos: 70
Concentration: Entrepreneurship, Technology
GMAT 1: 730 Q50 V38
Send PM
How many positive integers less than 2*10^4 are there in which each di [#permalink]
1
Kudos
1
Bookmarks
Integers less than 20000 in which each digit is a prime number : 2,3,5,7,22,23,25,27,32,33,35,37......

possible options
Single digit -> 4
2 digit -> 4 *4 = 16
3 digit -> 4*4*4 = 64
4 digit -> 4*4*4*4 =256
5 digit :
10000 till 20000 -> But here as 1st digit is always 1 which is not prime.. we cannot consider numbers between 10000 and 20000

Total : 4+16+64+256 = 340

Answer: C

Originally posted by Nikkb on 29 Oct 2017, 02:32.
Last edited by Nikkb on 29 Oct 2017, 03:09, edited 2 times in total.
Intern
Intern
Joined: 11 Mar 2014
Posts: 19
Own Kudos [?]: 4 [0]
Given Kudos: 8
Send PM
How many positive integers less than 2*10^4 are there in which each di [#permalink]
is this the correct method
2* 10^4=20,000
single digit 2,3,5,7
two digit = 4*4 ie 16
three digit numbers 4*4*4= 64
four digit =4*4*4*4=25
6
we have reached 10,000
as tenth thousnadths digit is 1 all numbers beyond will have this number(1x,xxx) as non prime which makes them null and void
also the range 20,000 forbids us to consider 22,222
so we have to consider
256+64+16+4=340
Am i correct
Intern
Intern
Joined: 13 Feb 2017
Posts: 4
Own Kudos [?]: 1 [0]
Given Kudos: 1
Send PM
Re: How many positive integers less than 2*10^4 are there in which each di [#permalink]
_ - 4 ways
_ _ - 4 x 4 = 16 ways
_ _ _ - 4x4x4 = 64 ways
_ _ _ _ - 4x4x4x4= 256ways total = 340

Sent from my SM-G615F using GMAT Club Forum mobile app
GMAT Club Legend
GMAT Club Legend
Joined: 12 Sep 2015
Posts: 6818
Own Kudos [?]: 30043 [0]
Given Kudos: 799
Location: Canada
Send PM
Re: How many positive integers less than 2*10^4 are there in which each di [#permalink]
Expert Reply
Top Contributor
Bunuel wrote:
How many positive integers less than 2*10^4 are there in which each digit is a prime number?

(A) 256
(B) 326
(C) 340
(D) 625
(E) 775


In other words, "How many positive integers less than 20,000 are there in which each digit is a prime number?"
The prime digits are: 2, 3, 5 and 7
Notice that, using the digits 2, 3, 5 and 7, we cannot create a 5-digit number that's less than 20,000
So, we must consider 4 possible cases: 4-digit numbers, 3-digit numbers, 2-digit numbers, and 1-digit numbers

4-digit numbers
There are 4 options for the first digit (2, 3, 5 or 7), 4 options for the second digit, 4 options for the third digit, and 4 options for the last digit
TOTAL number of 4-digit numbers = (4)(4)(4)(4) = 256

3-digit numbers
There are 4 options for the first digit (2, 3, 5 or 7), 4 options for the second digit, and 4 options for the last digit
TOTAL number of 3-digit numbers = (4)(4)(4) = 64

2-digit numbers
There are 4 options for the first digit (2, 3, 5 or 7), and 4 options for the last digit
TOTAL number of 2-digit numbers = (4)(4) = 16

1-digit numbers
There are 4 options: 2, 3, 5, 7

ANSWER = 256 + 64 + 16 + 4 = 340 = C

Cheers,
Brent
Director
Director
Joined: 09 Mar 2018
Posts: 783
Own Kudos [?]: 453 [0]
Given Kudos: 123
Location: India
Send PM
Re: How many positive integers less than 2*10^4 are there in which each di [#permalink]
Bunuel wrote:
How many positive integers less than 2*10^4 are there in which each digit is a prime number?

(A) 256
(B) 326
(C) 340
(D) 625
(E) 775


Numbers less than 20000, in which each digit is a prime number

There will be 4 prime numbers 2 3 5 7

_ _ _ _ => 4*4*4*4 = 216
_ _ _ => 4*4*4 = 64
_ _ => 4*4= 16
_=> 4

216 + 64 + 20
340

C
Manager
Manager
Joined: 04 Jun 2020
Posts: 68
Own Kudos [?]: 154 [0]
Given Kudos: 16
Location: India
Concentration: Strategy, General Management
GPA: 3.4
WE:Engineering (Consulting)
Send PM
Re: How many positive integers less than 2*10^4 are there in which each di [#permalink]
1 digit 4
2 digit 4*4 = 16
3 digit 4*4*4 = 64
4 digit 4*4*4*4 =256
Total : 4+16+64+256 = 340
User avatar
Non-Human User
Joined: 09 Sep 2013
Posts: 32802
Own Kudos [?]: 824 [0]
Given Kudos: 0
Send PM
Re: How many positive integers less than 2*10^4 are there in which each di [#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 2*10^4 are there in which each di [#permalink]
Moderators:
Math Expert
93025 posts
Senior Moderator - Masters Forum
3137 posts

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