Last visit was: 25 Apr 2024, 17:38 It is currently 25 Apr 2024, 17:38

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
Manager
Manager
Joined: 16 Jan 2011
Posts: 72
Own Kudos [?]: 715 [57]
Given Kudos: 15
Send PM
Most Helpful Reply
Math Expert
Joined: 02 Sep 2009
Posts: 92915
Own Kudos [?]: 619030 [29]
Given Kudos: 81595
Send PM
Tutor
Joined: 16 Oct 2010
Posts: 14823
Own Kudos [?]: 64923 [6]
Given Kudos: 426
Location: Pune, India
Send PM
General Discussion
Manager
Manager
Joined: 16 Jan 2011
Posts: 72
Own Kudos [?]: 715 [0]
Given Kudos: 15
Send PM
Re: combinations+primes [#permalink]
Bunuel
how is it possible to come to number of primes within the hundreds (e.g. 16) quickly? I started to calculate for each ten, then for each hundred and so on... what made me to waste a lot of time on that task
Could you explain ur logic please?
Manager
Manager
Joined: 31 Jan 2012
Posts: 60
Own Kudos [?]: 60 [1]
Given Kudos: 3
Send PM
Re: How many numbers between 0 and 1670 have a prime tens digit [#permalink]
1
Kudos
Similar solution as bunuel, but I added. From 1-9 there are 4 prime numbers [2.3.4.7]. The 10s and 1s of the number must be made with these number. Total number of combination is 4*4 = 16. You can arrange the hundreds and thousand numbers in 15 ways [0XX,1XX,2XX..10XX,11XX...15XX]. 16*16= 256. For 1600 it will only go up to 70, so in the 10s column we can only use 3 numbers [2.3.5]. 3*4 =12.

256+12 = 268

Answer = A
Math Expert
Joined: 02 Sep 2009
Posts: 92915
Own Kudos [?]: 619030 [0]
Given Kudos: 81595
Send PM
Re: combinations+primes [#permalink]
Expert Reply
Galiya wrote:
Bunuel
how is it possible to come to number of primes within the hundreds (e.g. 16) quickly? I started to calculate for each ten, then for each hundred and so on... what made me to waste a lot of time on that task
Could you explain ur logic please?


Fact that the last two digits (tens and units) can take 4*4=16 different values: 22, 23, 25, ..., 77, basically means that there are 16 such numbers between 0 and 100, the same exact two-digit numbers as listed previously: 22, 23, 25, ..., 77. Thus each hundred will also have 16 such numbers: 122, 123, 125, ..., 177 (for second hundred), 222, 223, 225, ..., 277 (for second hundred), and so on.

Hope it's clear.
User avatar
Senior Manager
Senior Manager
Joined: 23 Mar 2011
Posts: 365
Own Kudos [?]: 637 [0]
Given Kudos: 59
Location: India
GPA: 2.5
WE:Operations (Hospitality and Tourism)
Send PM
Re: How many numbers between 0 and 1670 have a prime tens digit [#permalink]
I did kys123 way. only error kys bet 1-9 primes are (2,3,5,7) not 4 (silly mistake). Karishma, did not get that 3/4*16 part. cd you explain me...
Tutor
Joined: 16 Oct 2010
Posts: 14823
Own Kudos [?]: 64923 [3]
Given Kudos: 426
Location: Pune, India
Send PM
Re: How many numbers between 0 and 1670 have a prime tens digit [#permalink]
2
Kudos
1
Bookmarks
Expert Reply
sdas wrote:
I did kys123 way. only error kys bet 1-9 primes are (2,3,5,7) not 4 (silly mistake). Karishma, did not get that 3/4*16 part. cd you explain me...


Since we are taking into account only 70 numbers (from 1601 to 1670) and not 100, we will get 3 prime digits in the tens place (2, 3 and 5). We will not get numbers related to 7 in the tens place. So out of four prime digits in the tens place, only three will be used. Therefore, the number of numbers we will get = (3/4)th of 16
(since every prime digit in the tens place will give us the same no. of numbers where the tens and the units place are prime)
22 32 52 72
23 33 53 73
25 35 55 75
27 37 57 77
The fourth column will not be available.
User avatar
Manager
Manager
Joined: 22 Jan 2012
Posts: 61
Own Kudos [?]: 436 [1]
Given Kudos: 9
Location: India
Concentration: General Management, Technology
GPA: 3.3
WE:Engineering (Consulting)
Send PM
new [#permalink]
1
Kudos
10-99 -> 4*4
100-999 -> 9*4*4
1000-1670 -> 1*7*4*4 - 4

Total = 268
Math Expert
Joined: 02 Sep 2009
Posts: 92915
Own Kudos [?]: 619030 [0]
Given Kudos: 81595
Send PM
Re: How many numbers between 0 and 1670 have a prime tens digit [#permalink]
Expert Reply
Bumping for review and further discussion*. Get a kudos point for an alternative solution!

*New project from GMAT Club!!! Check HERE

Theory on Combinations: math-combinatorics-87345.html

DS questions on Combinations: search.php?search_id=tag&tag_id=31
PS questions on Combinations: search.php?search_id=tag&tag_id=52

Tough and tricky questions on Combinations: hardest-area-questions-probability-and-combinations-101361.html
avatar
Intern
Intern
Joined: 05 May 2013
Posts: 18
Own Kudos [?]: 32 [1]
Given Kudos: 5
GMAT 1: 730 Q50 V39
GRE 1: Q800 V680
Send PM
Re: How many numbers between 0 and 1670 have a prime tens digit [#permalink]
1
Kudos
There are 16 different possible combinations when we consider only the units and tens digits (4 possible prime values for each digit). The digit in the thousands place can be 0 or 1 - when it is 0 there are 10 different possible values for the digit in the hundreds place (0 thru 9) and when the digit in the thousands place is 1 there are 7 different values possible for the hundreds digit (0 thru 6). Thus giving us a total of 16*10+16*7 =272. But of these 4 are >1670, so subtracting, final answer is 268.
MBA Section Director
Joined: 22 Feb 2012
Affiliations: GMAT Club
Posts: 8701
Own Kudos [?]: 10013 [3]
Given Kudos: 4542
Test: Test
Send PM
Re: How many numbers between 0 and 1670 have a prime tens digit [#permalink]
3
Kudos
Expert Reply
BUNUEL's and KARISHMA's explanations are indeed smart and excellent. With conventional approach,which I adopted, it would take more than 2 minutes to solve.

2,3,5,7 are primes.

From 0 to 1670 there can be 2 digit numbers, 3 digit numbers, and 4 digit numbers (We will not consider 1 digit numbers as we are asked for last two digits of the number)

2 digit numbers = (Any one of 4 primes) * (Any one of 4 primes) = 4 * 4 = 16
3 digit numbers = (Any one from 1 to 9)*(Any one of 4 primes) * (Any one of 4 primes) = 9*4*4 = 144
4 digit numbers(upto 1599) = (Only one digit i.e.1)*(Any one from 0 to 5)*(Any one of 4 primes) * (Any one of 4 primes) = 1*6*4*4 = 96
Numbers between 1600 and 1670 = Here we can see from 2,3,5,and7 we can take any one from 2,3,and5 at tens place and any one of 4 at units place. So Number of numbers = 3*4 = 12

Total Number of Numbers = 16 + 144 + 96 + 12 = 268
User avatar
Manager
Manager
Joined: 18 Oct 2013
Posts: 62
Own Kudos [?]: 266 [0]
Given Kudos: 36
Location: India
Concentration: Technology, Finance
GMAT 1: 580 Q48 V21
GMAT 2: 530 Q49 V13
GMAT 3: 590 Q49 V21
WE:Information Technology (Computer Software)
Send PM
Re: How many numbers between 0 and 1670 have a prime tens digit [#permalink]
Why are we not considering single digit prime numbers i.e. 2,3,5,7.

Please elaborate
Math Expert
Joined: 02 Sep 2009
Posts: 92915
Own Kudos [?]: 619030 [0]
Given Kudos: 81595
Send PM
Re: How many numbers between 0 and 1670 have a prime tens digit [#permalink]
Expert Reply
vikrantgulia wrote:
Why are we not considering single digit prime numbers i.e. 2,3,5,7.

Please elaborate


Do 2, 3, 5 and 7 have a prime tens digit and a prime units digit? Do a single digit primes even have a tens digit?
User avatar
VP
VP
Joined: 06 Sep 2013
Posts: 1345
Own Kudos [?]: 2391 [0]
Given Kudos: 355
Concentration: Finance
Send PM
Re: How many numbers between 0 and 1670 have a prime tens digit [#permalink]
Way I did it

Prime #'s digits: 2,3,5,7

First , two digit numbers

(4)(4) = 16

Then, 3 digit numbers

(9)(4)(4) = 144

After, 4 digit numbers up to 1600

(1)(6)(4)(496

Finally, from 1600 till 1670

We will need two digit numbers with primes less than 70, meaning

(3)(4) (Excluding 7 from tens digit) = 12

Now adding up= 144+16+96+12=268

Answer: A

Hope it helps
Cheers!
J :)
Tutor
Joined: 16 Oct 2010
Posts: 14823
Own Kudos [?]: 64923 [2]
Given Kudos: 426
Location: Pune, India
Send PM
Re: How many numbers between 0 and 1670 have a prime tens digit [#permalink]
2
Kudos
Expert Reply
Responding to a pm:
Quote:

at first i have arrived at wrong answer . could you please explain what is wrong in my approach.


there are 4 terms so

first term either 0 or 1 - 2
second term from 0 to 6 - 7
third term 2,35,7 ----------4
fourth term same --- 4

finally i got 2*7*4*4 = 224..

are there any way to correct this.. where am i missing the count.



I immediately saw some extra counting in your numbers but I saw that your total is less than the actual. Then I realized that there are a whole bunch of numbers you haven't counted because you are giving values of only 0 to 6 to the hundreds digit.

722, 723, 725, 727, 732... (16 numbers)
822, 823, 825, ... (16 numbers)
922, 923, 925, ... (16 numbers)

So add 16*3 = 48 numbers to your total and subtract 4 (think why - look at the extreme end of your range) to get 224 + 48 - 4 = 268
VP
VP
Joined: 07 Dec 2014
Posts: 1072
Own Kudos [?]: 1561 [0]
Given Kudos: 27
Send PM
Re: How many numbers between 0 and 1670 have a prime tens digit [#permalink]
1670*4/10*4/10=267.2
answer a. 268
Director
Director
Joined: 21 Jun 2017
Posts: 638
Own Kudos [?]: 531 [0]
Given Kudos: 4092
Location: India
Concentration: Finance, Economics
GMAT 1: 660 Q49 V31
GMAT 2: 620 Q47 V30
GMAT 3: 650 Q48 V31
GPA: 3.1
WE:Corporate Finance (Non-Profit and Government)
Send PM
Re: How many numbers between 0 and 1670 have a prime tens digit [#permalink]
Start with two digits.
XY x and y can take only 4 values so combinations = 4*4=16
For three digits XYZ , Y Z have to be prime so X can take 9 values Y and Z will each be 4 .
So combinations = 9*4*4

For four digits PQRS, P can only be 1 , Q can take only 7 values ( 0-6 ) R and S can each take 4 digits so combinations = 1*7*4*4
In this case we have included 1672 1673 1675 and 1677. Subtract 4.

Final ans = 16+144+112 - 4 = 268.

Posted from my mobile device
Manager
Manager
Joined: 01 Apr 2020
Posts: 89
Own Kudos [?]: 27 [0]
Given Kudos: 283
Location: India
GMAT 1: 650 Q46 V34 (Online)
GMAT 2: 680 Q48 V35 (Online)
Send PM
Re: How many numbers between 0 and 1670 have a prime tens digit [#permalink]
Bunuel wrote:
Galiya wrote:
Dear all
help me please to solve the problem below:

How many numbers between 0 and 1670 have a prime tens digit and a prime units digit?
A. 268
B. 272
C. 202
D. 112
E. 262


There are 4 single digit prime numbers: 2, 3, 5 and 7. Hence, last two digits (tens and units) can take 4*4=16 different values: 22, 23, ..., 77.

So, in each hundred there are 16 such numbers. In 17 hundreds there will be 17*16=272 such numbers, but 4 out of them will be more than 1670, namely: 1672, 1673, 1675 and 1677. Which means that there are 272-4=268 numbers between 0 and 1670 which have a prime tens digit and a prime units digit.

Answer: A.

Hope it's clear.


My math just doesn't add up

0-100 16 numbers

100 - 1000 (16 x 9) numbers

1000 - 1600 (16 x 7) numbers

1600 - 1670 (12) numbers


Therefore total
16(1 + 9 + 7) + 12
16x18 + 12
288 + 12 = 300 such numbers.

Where am I going wrong?
Tutor
Joined: 16 Oct 2010
Posts: 14823
Own Kudos [?]: 64923 [2]
Given Kudos: 426
Location: Pune, India
Send PM
Re: How many numbers between 0 and 1670 have a prime tens digit [#permalink]
2
Kudos
Expert Reply
D4kshGargas wrote:
Bunuel wrote:
Galiya wrote:
Dear all
help me please to solve the problem below:

How many numbers between 0 and 1670 have a prime tens digit and a prime units digit?
A. 268
B. 272
C. 202
D. 112
E. 262


There are 4 single digit prime numbers: 2, 3, 5 and 7. Hence, last two digits (tens and units) can take 4*4=16 different values: 22, 23, ..., 77.

So, in each hundred there are 16 such numbers. In 17 hundreds there will be 17*16=272 such numbers, but 4 out of them will be more than 1670, namely: 1672, 1673, 1675 and 1677. Which means that there are 272-4=268 numbers between 0 and 1670 which have a prime tens digit and a prime units digit.

Answer: A.

Hope it's clear.


My math just doesn't add up

0-100 16 numbers

100 - 1000 (16 x 9) numbers

1000 - 1600 (16 x 7) numbers

1600 - 1670 (12) numbers


Therefore total
16(1 + 9 + 7) + 12
16x18 + 12
288 + 12 = 300 such numbers.

Where am I going wrong?


The highlighted is incorrect.
From 1000 to 1599, hundreds digit can take 6 values not 7 (0,1,2,3,4,5).
You are counting the 12 1600 values separately.
GMAT Club Bot
Re: How many numbers between 0 and 1670 have a prime tens digit [#permalink]
 1   2   
Moderators:
Math Expert
92915 posts
Senior Moderator - Masters Forum
3137 posts

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