Is the +ve Integer N is a perfect square

This topic has expert replies
Senior | Next Rank: 100 Posts
Posts: 52
Joined: Mon Jun 07, 2010 8:36 pm
Location: India
Thanked: 3 times
Followed by:1 members
GMAT Score:720
Dear Expert,

Need your help in solving this DS problem.

Is the positive integer N a perfect square?

(1) The number of distinct factors of N is even.
(2) The sum of all distinct factors of N is even.

My answer:

Solving 1: If you take a square no. say 49 = 7*7*1 => No. of distinct factor =2 Satisfies
But if you take a square no. say 36 = 3*3*2*2*1 => No. of distinct factor = 3 Doesn't.
So in my opinion 1 is not sufficient.

Solving 2: If you take a square no. say 4 = 2*2*1 => Sum of distinct factor = 2+1 = 3 Doesn't Satisfy.
If you take square no. say 49 = 7*7*1 => Sum of distinct factor = 7+1 =8 Satisfies.
2 is also not sufficient.

Please suggest if my approach is correct.

Thanks
monusangeeta
Source: — Data Sufficiency |

GMAT/MBA Expert

User avatar
GMAT Instructor
Posts: 1179
Joined: Sun Apr 11, 2010 9:07 pm
Location: Milpitas, CA
Thanked: 447 times
Followed by:88 members

by Rahul@gurome » Sun Aug 01, 2010 7:16 pm
monusangeeta wrote:Dear Expert,

Need your help in solving this DS problem.

Is the positive integer N a perfect square?

(1) The number of distinct factors of N is even.
(2) The sum of all distinct factors of N is even.

My answer:

Solving 1: If you take a square no. say 49 = 7*7*1 => No. of distinct factor =2 Satisfies
But if you take a square no. say 36 = 3*3*2*2*1 => No. of distinct factor = 3 Doesn't.
So in my opinion 1 is not sufficient.

Solving 2: If you take a square no. say 4 = 2*2*1 => Sum of distinct factor = 2+1 = 3 Doesn't Satisfy.
If you take square no. say 49 = 7*7*1 => Sum of distinct factor = 7+1 =8 Satisfies.
2 is also not sufficient.

Please suggest if my approach is correct.

Thanks
monusangeeta
(1) No. of distinct factors of 4 = 1, 2, 4; we can see that no. of distinct factors here are 3.
No. of distinct factors of 16 = 1, 2, 4, 8, 16; here no. of distinct factors are 5.
No. of distinct factors of 49 = 1, 7, 49; here no. of distinct factors are 3.

Generalizing we can see that a perfect square has always odd number of distinct factors, as shown above. But in statement (1) it is given that number of distinct factors of N is even, which implies that N is not a perfect square.

So, (1) is SUFFICIENT.

(2) If we take the above mentioned examples in (1), then the sum of distinct factors of N is always odd, which means N is again not a perfect square.

So, (2) is SUFFICIENT.

The correct answer is[spoiler] (D)[/spoiler].

Does that help?
Rahul Lakhani
Quant Expert
Gurome, Inc.
https://www.GuroMe.com
On MBA sabbatical (at ISB) for 2011-12 - will stay active as time permits
1-800-566-4043 (USA)
+91-99201 32411 (India)

Senior | Next Rank: 100 Posts
Posts: 52
Joined: Mon Jun 07, 2010 8:36 pm
Location: India
Thanked: 3 times
Followed by:1 members
GMAT Score:720

by monusangeeta » Sun Aug 01, 2010 7:44 pm
Great, thanks for the help. I realize it now, what i was missing.

Correct answer is Each Sufficient.

Regards
monusangeeta

GMAT/MBA Expert

User avatar
GMAT Instructor
Posts: 1179
Joined: Sun Apr 11, 2010 9:07 pm
Location: Milpitas, CA
Thanked: 447 times
Followed by:88 members

by Rahul@gurome » Mon Aug 02, 2010 3:58 am
monusangeeta wrote:Great, thanks for the help. I realize it now, what i was missing.

Correct answer is Each Sufficient.

Regards
monusangeeta
U r welcome!
Rahul Lakhani
Quant Expert
Gurome, Inc.
https://www.GuroMe.com
On MBA sabbatical (at ISB) for 2011-12 - will stay active as time permits
1-800-566-4043 (USA)
+91-99201 32411 (India)

User avatar
Newbie | Next Rank: 10 Posts
Posts: 7
Joined: Thu Jul 15, 2010 12:57 pm

by AegisAshore » Tue Aug 10, 2010 6:00 pm
Rahul@gurome wrote:
monusangeeta wrote:Great, thanks for the help. I realize it now, what i was missing.

Correct answer is Each Sufficient.

Regards
monusangeeta
U r welcome!
An additional follow up to this question. I understand the solution presented and the fact that the sum of all distinct factors of N are odd when N is a perfect square. However, what confused me is that I tried an opposite scenario:

When N is NOT a perfect square. In this case it seemed as if the sum of all distinct factors could be EITHER even or odd. Hence, before seeing the solution, I thought (2) was not sufficient.

i.e.
Not a perfect square = 8: 1+2+4+8=15 = odd
Not a perfect square = 10: 1+2+5+10 = 18 = even

Does this need to be considered?

GMAT/MBA Expert

User avatar
GMAT Instructor
Posts: 2623
Joined: Mon Jun 02, 2008 3:17 am
Location: Montreal
Thanked: 1090 times
Followed by:355 members
GMAT Score:780

by Ian Stewart » Tue Aug 10, 2010 7:44 pm
AegisAshore wrote: An additional follow up to this question. I understand the solution presented and the fact that the sum of all distinct factors of N are odd when N is a perfect square. However, what confused me is that I tried an opposite scenario:

When N is NOT a perfect square. In this case it seemed as if the sum of all distinct factors could be EITHER even or odd. Hence, before seeing the solution, I thought (2) was not sufficient.

i.e.
Not a perfect square = 8: 1+2+4+8=15 = odd
Not a perfect square = 10: 1+2+5+10 = 18 = even

Does this need to be considered?
You're certainly correct that if you sum the divisors of non-squares, you can get an even sum or an odd sum. Here though, we don't need to consider that fact. If we know the sum of our divisors is even, we know that our number cannot be a perfect square, since the sum of the divisors of a square is always odd. Since we can be certain the answer to the question is 'no' from Statement 2 alone, it is sufficient.

I'd add that I see this question posted all the time, and I really don't like it. While one can prove that the sum of the divisors of a square is odd (I'll do it quickly below), no GMAT test taker could be expected to know that fact, and further, no GMAT test taker could reasonably be expected to prove that fact within two minutes. That leaves only one viable approach to the question - picking a few numbers hoping to find a pattern. When statements are sufficient in real GMAT questions, there is always some logical way to see that in a very short space of time - much less than two minutes, since there's always the other statement to analyze as well! You are never forced to 'guess' based on some pattern you find among small numbers.

Now, for interest only, since it won't be tested on the GMAT, we can prove that the sum of the divisors of a perfect square is odd. If we have a perfect square, we know that in its prime factorization, all the powers are even. Let's take an example:

n = (2^6)(3^4)(7^2)

is a perfect square (it is the square of (2^3)(3^2)(7^1)). Now to count this number's divisors, we add one to each power and multiply - our number n has 7*5*3 = 105 divisors. Note that when we add one to each power, we can only get odd numbers, since each power is even. So we find the total number of divisors by multiplying odd numbers only, and the number of divisors must therefore be odd.

Now, to count the number of odd divisors only, we can do the same thing, except we completely ignore the (2^k) part of the prime factorization. For our number n above, we can just pretend that the 2^6 is not there, and add one to the other powers and multiply. Our number n therefore has 5*3 = 15 odd divisors (and the other 90 divisors are all even). Notice that we have an odd number of odd divisors, for the same reason that we have an odd number of divisors in total; we are multiplying only odd numbers here.

Finally, when we sum the divisors of our perfect square, the even divisors will add up to some even number, say E. When we then add the odd divisors, we are adding an odd number of odd numbers to E, so the sum must be odd.

All of that said, GMAT test takers won't need to worry about doing this on test day, nor will it be helpful to memorize facts about summing divisors.
For online GMAT math tutoring, or to buy my higher-level Quant books and problem sets, contact me at ianstewartgmat at gmail.com

ianstewartgmat.com