Logic Question:
A positive integer is prime only if it has no other divisors other than 1 and itself.
Why is the p here "A positive integer is prime" and not "it has no other divisors other than 1 and itself."

At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get our expert's

answer on brainly

SEE EXPERT ANSWER

Get your **free** account and access **expert** answers to this

and **thousands** of other questions.

- lgbasallote

- jamiebookeater

See more answers at brainly.com

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your **free** account and access **expert** answers to this

and **thousands** of other questions

- anonymous

So we dont have to worry about negative numbers.

- lgbasallote

how does that relate?

- lgbasallote

by p im referring to p and q by the way
something like \(p \rightarrow q\)

Looking for something else?

Not the answer you are looking for? Search for more explanations.

## More answers

- anonymous

What p?

- farmdawgnation

The p is the conditional.

- lgbasallote

p succeeds the "if" right?

- farmdawgnation

So you'd rewrite this as,
If positive integer n is prime, it has no other divisors other than 1 and itself.
However, you CAN'T say..
If n has no other divisors than 1 and itself, it is a positive integer.

- farmdawgnation

That'd be a problem.

- anonymous

"only if" works like "if" in reverse.

- anonymous

ah, i misunderstood. I would read that statement as:
If a number has no divisors other than one and itself, then it is prime.

- lgbasallote

...i didn't know that....

- lgbasallote

are there any other phrases that work as if in reverse?

- anonymous

A if B becomes B only if A

- anonymous

A is necessary for B means \(B\rightarrow A\). A is sufficient for B means \(A\rightarrow B\). A if B means \(B\rightarrow A\) A only if B means \(A\rightarrow B\)

- lgbasallote

ahh just what i needed. what about necessary but not sufficient?

- anonymous

necessary but not sufficient basically is the same as necessary.

- anonymous

necessary and sufficient is bi-conditional.

- anonymous

The best thing to do is use 'rain' and 'clouds' and see if it makes sense. Then remember that rain implies clouds.

- lgbasallote

\[(B \rightarrow A) \wedge (\neg A \rightarrow B)\]
like that?

- anonymous

but clouds don't imply rain.

- anonymous

No, not like that.

- lgbasallote

because i remember something that said necessary but not sufficient and had this solution \[(q \rightarrow (\neg r \wedge \neg p)) \wedge \neg((\neg r \wedge \neg p) \rightarrow q)\]

- lgbasallote

the statement was this:
For hiking to be safe, it is necessary but not sufficient that berries be not ripe along the trail and for grizzly bears not to have been seen in the area

- anonymous

I mean you could perhaps say \((B\rightarrow A) \wedge \neg (A\rightarrow B)\)

- lgbasallote

the p, q, r are these:
p: Grizzly bears have been sean in the area
q: hiking is safe
r: berries are ripe along the trail

- lgbasallote

so any explanations for that?

- anonymous

Well if \(B\rightarrow A\) means necessary and \(A\rightarrow B\) means sufficient then necessary but not sufficient could be written as \(B\rightarrow A)\wedge \neg (A\rightarrow B\))

- lgbasallote

ahh yes. makes sense

- anonymous

But there is a big of an ambiguity for me, because when they say necessary and not sufficient, do they mean necessary but not necessarily sufficient, or necessary and never sufficient.

- lgbasallote

that's why i hate math.....

Looking for something else?

Not the answer you are looking for? Search for more explanations.