Last visit was: 19 Nov 2025, 04:55 It is currently 19 Nov 2025, 04: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
User avatar
galiya
Joined: 16 Jan 2011
Last visit: 08 Jan 2018
Posts: 72
Own Kudos:
846
 [80]
Given Kudos: 15
Posts: 72
Kudos: 846
 [80]
3
Kudos
Add Kudos
76
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 Nov 2025
Posts: 105,384
Own Kudos:
Given Kudos: 99,977
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,384
Kudos: 778,201
 [32]
15
Kudos
Add Kudos
17
Bookmarks
Bookmark this Post
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 18 Nov 2025
Posts: 16,267
Own Kudos:
76,989
 [8]
Given Kudos: 482
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,267
Kudos: 76,989
 [8]
6
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
General Discussion
User avatar
galiya
Joined: 16 Jan 2011
Last visit: 08 Jan 2018
Posts: 72
Own Kudos:
Given Kudos: 15
Posts: 72
Kudos: 846
Kudos
Add Kudos
Bookmarks
Bookmark this Post
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?
avatar
kys123
Joined: 31 Jan 2012
Last visit: 25 Oct 2018
Posts: 57
Own Kudos:
65
 [1]
Given Kudos: 3
Posts: 57
Kudos: 65
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
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
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 Nov 2025
Posts: 105,384
Own Kudos:
Given Kudos: 99,977
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,384
Kudos: 778,201
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Galiya
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
sdas
Joined: 23 Mar 2011
Last visit: 06 May 2013
Posts: 365
Own Kudos:
Given Kudos: 59
Location: India
GPA: 2.5
WE:Operations (Hospitality and Tourism)
Kudos
Add Kudos
Bookmarks
Bookmark this Post
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...
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 18 Nov 2025
Posts: 16,267
Own Kudos:
76,989
 [3]
Given Kudos: 482
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,267
Kudos: 76,989
 [3]
2
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
sdas
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
iwillcrackgmat
Joined: 22 Jan 2012
Last visit: 01 Mar 2015
Posts: 61
Own Kudos:
518
 [3]
Given Kudos: 9
Location: India
Concentration: General Management, Technology
GPA: 3.3
WE:Engineering (Consulting)
Posts: 61
Kudos: 518
 [3]
3
Kudos
Add Kudos
Bookmarks
Bookmark this Post
10-99 -> 4*4
100-999 -> 9*4*4
1000-1670 -> 1*7*4*4 - 4

Total = 268
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 Nov 2025
Posts: 105,384
Own Kudos:
Given Kudos: 99,977
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,384
Kudos: 778,201
Kudos
Add Kudos
Bookmarks
Bookmark this Post
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
vs129
Joined: 05 May 2013
Last visit: 15 Feb 2015
Posts: 18
Own Kudos:
34
 [1]
Given Kudos: 5
GMAT 1: 730 Q50 V39
GRE 1: Q800 V680
GMAT 1: 730 Q50 V39
GRE 1: Q800 V680
Posts: 18
Kudos: 34
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
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.
User avatar
Narenn
User avatar
Major Poster
Joined: 22 Feb 2012
Last visit: 19 Nov 2025
Posts: 9,169
Own Kudos:
11,074
 [4]
Given Kudos: 4,651
Affiliations: GMAT Club
Test: Test
Products:
Expert
Expert reply
Posts: 9,169
Kudos: 11,074
 [4]
4
Kudos
Add Kudos
Bookmarks
Bookmark this Post
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
vikrantgulia
Joined: 18 Oct 2013
Last visit: 23 Oct 2022
Posts: 62
Own Kudos:
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)
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Why are we not considering single digit prime numbers i.e. 2,3,5,7.

Please elaborate
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 Nov 2025
Posts: 105,384
Own Kudos:
Given Kudos: 99,977
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,384
Kudos: 778,201
Kudos
Add Kudos
Bookmarks
Bookmark this Post
vikrantgulia
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
jlgdr
Joined: 06 Sep 2013
Last visit: 24 Jul 2015
Posts: 1,311
Own Kudos:
Given Kudos: 355
Concentration: Finance
Posts: 1,311
Kudos: 2,863
Kudos
Add Kudos
Bookmarks
Bookmark this Post
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 :)
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 18 Nov 2025
Posts: 16,267
Own Kudos:
76,989
 [2]
Given Kudos: 482
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,267
Kudos: 76,989
 [2]
2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
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
User avatar
gracie
Joined: 07 Dec 2014
Last visit: 11 Oct 2020
Posts: 1,030
Own Kudos:
Given Kudos: 27
Posts: 1,030
Kudos: 1,943
Kudos
Add Kudos
Bookmarks
Bookmark this Post
1670*4/10*4/10=267.2
answer a. 268
User avatar
ShankSouljaBoi
Joined: 21 Jun 2017
Last visit: 17 Apr 2024
Posts: 622
Own Kudos:
Given Kudos: 4,090
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)
Products:
Kudos
Add Kudos
Bookmarks
Bookmark this Post
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
User avatar
D4kshGargas
Joined: 01 Apr 2020
Last visit: 28 Feb 2021
Posts: 86
Own Kudos:
Given Kudos: 282
Location: India
GMAT 1: 650 Q46 V34 (Online)
GMAT 2: 680 Q48 V35 (Online)
GMAT 2: 680 Q48 V35 (Online)
Posts: 86
Kudos: 32
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
Galiya
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?
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 18 Nov 2025
Posts: 16,267
Own Kudos:
76,989
 [2]
Given Kudos: 482
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,267
Kudos: 76,989
 [2]
2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
D4kshGargas
Bunuel
Galiya
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.
 1   2   
Moderators:
Math Expert
105383 posts
Tuck School Moderator
805 posts