Manhatten DS problem

This topic has expert replies
Junior | Next Rank: 30 Posts
Posts: 28
Joined: Thu Oct 02, 2008 9:53 pm

Manhatten DS problem

by shaden » Tue Nov 11, 2008 9:45 am
The question is this:

If x and y are positive integers and 3x + 5 < x + 11, is x a prime number?

Forget about statements 1 and 2. You can simplfy the above to x < 3. Therefore, since x is a positive int, it can only be 1 or 2, which are both prime #'s right? Therefore without any statements, you know it is a prime # correct?

Junior | Next Rank: 30 Posts
Posts: 22
Joined: Sun Oct 19, 2008 4:36 pm
Thanked: 7 times
Followed by:1 members

by ninkorn » Tue Nov 11, 2008 11:41 am
you forgot to change the signs. X>3

Not X<3

Senior | Next Rank: 100 Posts
Posts: 46
Joined: Mon Jul 07, 2008 12:10 pm
Location: Atlanta
Thanked: 5 times
Followed by:1 members

by lachlanc » Tue Nov 11, 2008 1:18 pm
no, he didn't.

3x + 5 < x + 11

subtract x and 5 from both sides => 2x < 6 => x < 3

by definition, 1 is not prime. So the object of the problem is to find if x = 1 or 2.

Junior | Next Rank: 30 Posts
Posts: 28
Joined: Thu Oct 02, 2008 9:53 pm

by shaden » Tue Nov 11, 2008 6:41 pm
I assumed 1 was prime since it is divisble only by 1 and itself. Thanks