Last visit was: 28 Mar 2025, 10:05 It is currently 28 Mar 2025, 10:05
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
gmatt1476
Joined: 04 Sep 2017
Last visit: 27 Mar 2025
Posts: 334
Own Kudos:
Given Kudos: 62
Posts: 334
Kudos: 23,325
 [328]
9
Kudos
Add Kudos
317
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 28 Mar 2025
Posts: 15,835
Own Kudos:
72,331
 [86]
Given Kudos: 461
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 15,835
Kudos: 72,331
 [86]
44
Kudos
Add Kudos
42
Bookmarks
Bookmark this Post
User avatar
nick1816
User avatar
Retired Moderator
Joined: 19 Oct 2018
Last visit: 28 Mar 2025
Posts: 1,855
Own Kudos:
7,469
 [20]
Given Kudos: 707
Location: India
Posts: 1,855
Kudos: 7,469
 [20]
9
Kudos
Add Kudos
10
Bookmarks
Bookmark this Post
General Discussion
User avatar
Mohammadmo
Joined: 29 Jun 2019
Last visit: 03 Nov 2022
Posts: 349
Own Kudos:
232
 [12]
Given Kudos: 16
Posts: 349
Kudos: 232
 [12]
9
Kudos
Add Kudos
3
Bookmarks
Bookmark this Post
{0,1,10,11,100,101,110,111,1000,1001,1010,1011,1100,1101,1110,1111}
8*1000+8*100+8*10+8*1=8888
is divisible by 101.
Option E

Posted from my mobile device
User avatar
Archit3110
User avatar
Major Poster
Joined: 18 Aug 2017
Last visit: 28 Mar 2025
Posts: 8,174
Own Kudos:
4,647
 [4]
Given Kudos: 243
Status:You learn more from failure than from success.
Location: India
Concentration: Sustainability, Marketing
GMAT Focus 1: 545 Q79 V79 DI73
GPA: 4
WE:Marketing (Energy)
GMAT Focus 1: 545 Q79 V79 DI73
Posts: 8,174
Kudos: 4,647
 [4]
2
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
Possible values with digits 0 or 1
1,10,11,100,101,110,111,1000,1001,1010,1011,1100,1101,1110,111
sum of these digits ; 8*111 ; 2^3*11*101
greatest prime factor ; 101
IMO E

gmatt1476
Let S be the set of all positive integers having at most 4 digits and such that each of the digits is 0 or 1. What is the greatest prime factor of the sum of all the numbers in S ?

A. 11
B. 19
C. 37
D. 59
E. 101

PS41661.01
avatar
Shobhit7
Joined: 01 Feb 2017
Last visit: 29 Apr 2021
Posts: 241
Own Kudos:
387
 [8]
Given Kudos: 148
Posts: 241
Kudos: 387
 [8]
1
Kudos
Add Kudos
7
Bookmarks
Bookmark this Post
From 0000 to 1111, there are 4 places and each place can have digits 0 or 1.

So, there will be 16 integers in all and each digit will be repeated 8 times per place.

Hence, sum of digits per place is 8 and total sum of all the integers is 8888.
(even if we are considering positive integers only, ignoring 0000 will not make any difference to this sum of 8888)

Factorizing 8888: 11*2^3*101

Highest PF: 101

Ans E
User avatar
realslimsiddy
Joined: 18 Aug 2019
Last visit: 11 Dec 2020
Posts: 10
Own Kudos:
Given Kudos: 8
Posts: 10
Kudos: 2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Mohammadmo
{0,1,10,11,100,101,110,111,1000,1001,1010,1011,1100,1101,1110,1111}
8*1000+8*100+8*10+8*1=8888
is divisible by 101.
Option E

Posted from my mobile device

Can you please explain why 8 has been multiplied with 1000, 100, 10 and 1? Also, does that step even depend on the list of possible values you've listed above?
User avatar
RK007
Joined: 09 Nov 2018
Last visit: 27 Feb 2020
Posts: 65
Own Kudos:
47
 [5]
Given Kudos: 222
Schools: ISB '21 (A)
Schools: ISB '21 (A)
Posts: 65
Kudos: 47
 [5]
5
Kudos
Add Kudos
Bookmarks
Bookmark this Post
realslimsiddy
Mohammadmo
{0,1,10,11,100,101,110,111,1000,1001,1010,1011,1100,1101,1110,1111}
8*1000+8*100+8*10+8*1=8888
is divisible by 101.
Option E

Posted from my mobile device

Can you please explain why 8 has been multiplied with 1000, 100, 10 and 1? Also, does that step even depend on the list of possible values you've listed above?
Hey realslimsiddy,
Since there are 8 1's in the Thousand place, 8 1's in the hundreds place, 8 1's in the tenths place and 8 1's in the Unit's place, 8 has been multiplies by each to represent the number 8888 = 8*1000+8*100+8*10+8
Hope this helps.

Please give Kudos if it helped :)
User avatar
GMATGuruNY
Joined: 04 Aug 2010
Last visit: 27 Mar 2025
Posts: 1,344
Own Kudos:
3,530
 [10]
Given Kudos: 9
Schools:Dartmouth College
Expert
Expert reply
Posts: 1,344
Kudos: 3,530
 [10]
7
Kudos
Add Kudos
3
Bookmarks
Bookmark this Post
gmatt1476
Let S be the set of all positive integers having at most 4 digits and such that each of the digits is 0 or 1. What is the greatest prime factor of the sum of all the numbers in S ?

A. 11
B. 19
C. 37
D. 59
E. 101

Let each integer in S be represented by ABCD, where each digit is either 0 or 1.

Total number of integers:
Number of options for A = 2. (0 or 1)
Number of options for B = 2. (0 or 1)
Number of options for C = 2. (0 or 1)
Number of options for D = 2. (0 or 1)
To combine these options, we multiply:
2*2*2*2 = 16

Digits:
Total number of digits = (16 integers)(4 digits per integer) = 64
Since each of the 64 digits has an equal chance of being 0 or 1, we get:

Eight 1's and eight 0's in the thousands place, implying the following sum for A:
(8*1 + 8*0) * 1000 = 8000
Eight 1's and eight 0's in the hundreds place, implying the following sum for B:
(8*1 + 8*0) * 100 = 800
Eight 1's and eight 0's in the tens place, implying the following sum for C:
(8*1 + 8*0) * 10 = 80
Eight 1's and eight 0's in the units place, implying the following sum for D:
(8*1 + 8*0) * 1 = 8

Resulting sum = 8000 + 800 + 80 + 8 = 8888 = 8*1111 = 8*11*101
The greatest prime factor is the value in blue.

User avatar
ScottTargetTestPrep
User avatar
Target Test Prep Representative
Joined: 14 Oct 2015
Last visit: 28 Mar 2025
Posts: 20,415
Own Kudos:
25,457
 [7]
Given Kudos: 292
Status:Founder & CEO
Affiliations: Target Test Prep
Location: United States (CA)
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 20,415
Kudos: 25,457
 [7]
5
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
gmatt1476
Let S be the set of all positive integers having at most 4 digits and such that each of the digits is 0 or 1. What is the greatest prime factor of the sum of all the numbers in S ?

A. 11
B. 19
C. 37
D. 59
E. 101

PS41661.01

We see that the numbers in set S are:

1, 10, 11, 100, 101, 110, 111, 1000, 1001, 1010, 1011, 1100, 1101, 1110 and 1111

We see that there are 15 numbers in set S. Adding the first 7 numbers, we have 1 + 10 + 11 + 100 + 101 + 110 + 111 = 444. Since each of the last 7 numbers is 1000 more than its counterpart in the first 7 numbers, the sum of the last 7 number is 444 + 7 x 1000 = 7444. Now, add 444, 7444 and also the middle number 1000 (which we haven’t included in either of the two earlier sums), and we have the sum of the 15 numbers as:

444 + 7444 + 1000 = 8888

Let’s now prime factorize 8888:

8888 = 88 x 101 = 8 x 11 x 101 = 2^3 x 11 x 101

We see that the largest prime factor is 101.

Answer: E
User avatar
jkrishh7
Joined: 06 Feb 2020
Last visit: 16 Sep 2020
Posts: 37
Own Kudos:
20
 [5]
Given Kudos: 18
Status:When going gets tough, tough gets going_GMAT2020
Location: India
Concentration: Finance, Entrepreneurship
WE:Engineering (Military & Defense)
Posts: 37
Kudos: 20
 [5]
4
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
gmatt1476
Let S be the set of all positive integers having at most 4 digits and such that each of the digits is 0 or 1. What is the greatest prime factor of the sum of all the numbers in S ?

A. 11
B. 19
C. 37
D. 59
E. 101

PS41661.01

If digits can be 1 or 0 and at most there can be 4 digits, the greatest number that can be formed is 1111
Simply divide 1111 with all options
(A) 11x101
(B) ,(C),(D) not factors
(E) Correct Answer (since we want the greatest one)
User avatar
egmat
User avatar
e-GMAT Representative
Joined: 02 Nov 2011
Last visit: 13 Mar 2025
Posts: 4,565
Own Kudos:
Given Kudos: 679
GMAT Date: 08-19-2020
Products:
Expert
Expert reply
Posts: 4,565
Kudos: 32,058
Kudos
Add Kudos
Bookmarks
Bookmark this Post
gmatt1476
Let S be the set of all positive integers having at most 4 digits and such that each of the digits is 0 or 1. What is the greatest prime factor of the sum of all the numbers in S ?

A. 11
B. 19
C. 37
D. 59
E. 101

PS41661.01


GIVEN:
  • S is a set of ALL positive integers having at most 4 digits.
    • Set S can have 1-digit, 2-digit, 3-digit, and 4-digit integers.
  • Each digit of an integer in set S is either 0 or 1.


TO FIND:
  • The greatest prime factor of the sum of all integers in S.
    • Say, the sum of all integers of set S is ‘X’. Then, we need to find the greatest prime factor of X.



APPROACH:
Based on the CONSTRAINT that each digit can be either 0 or 1, first let us find all the integers in S (that is, all 1-digit, 2-digit, 3-digit, and 4-digit integers that can be formed using 0 and 1 as digits). We will then proceed to find X, followed by its prime factors.


WORKING:

Single digit integers in S:
As the only possibilities for the digits of any integer in S are 0 and 1, the only possible single-digit integers in set S are 0 and 1 themselves.
    - BUT the question also states that set S has positive integers. Hence, 0 is also not a possibility. Thus, the only single-digit integer in set S is 1.


IMPORTANT: Since our goal is to find the sum of all integers in S, it will be very helpful to have the same number of digits in all the integers. We will rewrite each integer we get using 4 digits, filling 0s when we do not have 4 digits already. (You will see how simple addition becomes once we get to it – Hang on and trust the process! 😊)

So, 1 can be rewritten this way:


2-digits integers in S:
Possible digits for ten’s place are 0 and 1.
Observe: Can a 2-digit number have 0 at its tens place? NO! Because 01 is again just the single-digit number 1!
    - So, to have a 2-digit integer, the tens digit can be filled in only ONE way: Ten’s digit = 1.
    - Now, for the one’s place, both 0 and 1 are possible. So, one’s place can be filled in TWO ways.

Therefore, total number of 2-digit integers in S = 1 × 2 = 2. These are 10 and 11.

And again, the 4-digit representation of both these numbers are:


3-digits integers in S:
Possible digits for hundred’s place are 0 and 1. But again, just as we saw in the 2-digit case, the hundred’s digit cannot be 0.
Hence, the hundred’s place can be filled in only ONE way: Hundred’s digit = 1.
Then, the remaining two places, ten’s place, and one’s place, EACH can be filled in two ways (by 0 or 1). Therefore, total number of 3-digits integers in S = 1 × 2 × 2 = 4. Check out the possibilities below:

So, the 3-digit integers are 100, 101, 110, 111. And again, we’re going to take these to their 4-digit representations. Here we go:


4-digits integers in S:
Same analysis as above will confirm that the only possible digit for thousand’s place is 1. And the remaining three places, hundred’s place, ten’s place, and one’s place, each can be filled in two ways (by 0 or 1). Therefore, total number of integers = 1 × 2 × 2 × 2 = 8. Check out all possibilities below:

Now, we can easily see that the 4-digit integers are 1000, 1001, 1010, 1011, 1100, 1101, 1110, 1111. Since they are already 4-digit integers, we do not need any extra work to write them in their 4-digit representations. Let me just re-write them just as I did for all above integers:


Sum of all integers = X:
In total, set S has a total of 15 integers. That is,

Observe that at every place, the digit ‘0’ comes 7 times (marked in different colors at each place) and ‘1’ comes 8 times.
    - Note: If we had included 0 as a single-digit integer, then we would have had 16 total numbers in S. Then, the number of 0s and the number of 1s at every place would have been 8 each. That is, you would have had half 1s and for half 0s at every place.


For our situation, when you try to add the digits at each place, you get: 7 times (0) + 8 times (1) = 8. So, the digit at each place in the sum, X, is 8.
  • Hence, X = 8888.

Required prime factored form of X:
The prime factored form of X: 8888 = \(2^3\) × 11 × 101.
So, the GREATEST PRIME FACTOR of X is 101.


Correct answer: OPTION E.


Hope this helps!


Best,
Aditi Gupta
Quant expert, e-GMAT
User avatar
bumpbot
User avatar
Non-Human User
Joined: 09 Sep 2013
Last visit: 04 Jan 2021
Posts: 36,714
Own Kudos:
Posts: 36,714
Kudos: 963
Kudos
Add Kudos
Bookmarks
Bookmark this Post
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.
Moderators:
Math Expert
100138 posts
PS Forum Moderator
522 posts