- Captain_of_Industry 1984
- Newbie | Next Rank: 10 Posts
- Posts: 3
- Joined: Tue Mar 05, 2013 11:59 am
Hey guys,
I have a question on this D.S. problem, can someone explain why my solution is incorrect?
If k is a positive integer and n = k(k + 7), is n divisible by 6?
1. K is odd
Test cases:
K=1 n=1(1+7) = 8, is 8/6 NO
K=3 n=3(3+7)=30, is 30/6 YES
INSUFFICIENT
2. When k is divided by 3, the remainder is 2
Test Cases:
K=1 1/3=0 remainder 2, n=1(1+7) = 8, is 8/6 NO
K=5 5/3 =1 remainder 2, n=5(5+7) =60, is 60/6 YES
INSUFFICIENT
Combined:
K=1 overlaps - NO
K=5 overlaps - YES
OA - B
I've seen a complex math approach that seems to prove that B is sufficient but why would the test cases produce a different result? What am I missing here?
Thanks in advance.
I have a question on this D.S. problem, can someone explain why my solution is incorrect?
If k is a positive integer and n = k(k + 7), is n divisible by 6?
1. K is odd
Test cases:
K=1 n=1(1+7) = 8, is 8/6 NO
K=3 n=3(3+7)=30, is 30/6 YES
INSUFFICIENT
2. When k is divided by 3, the remainder is 2
Test Cases:
K=1 1/3=0 remainder 2, n=1(1+7) = 8, is 8/6 NO
K=5 5/3 =1 remainder 2, n=5(5+7) =60, is 60/6 YES
INSUFFICIENT
Combined:
K=1 overlaps - NO
K=5 overlaps - YES
OA - B
I've seen a complex math approach that seems to prove that B is sufficient but why would the test cases produce a different result? What am I missing here?
Thanks in advance.












