# What is the negation of the following: "if n is prime then n is odd or n is 2."

**Solution:**

In Mathematics, the negation of a statement is the opposite of a given mathematical statement. If “P” is a statement, then the negation of statement P is represented by ~P. The symbols used to represent the negation of a statement are “~” or “¬”. If the statement is true, then its negation is false. If the statement is false, then the negation is true.

Example -

“Suma’s dog has a white tail”

Negation - “Suma’s dog does not have a whitetail”

The given statement is "if n is prime then n is odd or n is 2."

Negation is “If n prime then n is neither odd nor 2.”

Therefore, the negation of the statement is “If n prime then n is not odd or 2.”

## What is the negation of the following: "if n is prime then n is odd or n is 2."

**Summary:**

The negation of the statement is “If n prime then n is not odd or 2.”