Exercise · ZW-PRIME-NUMBER-010 · ★★★ Advanced

For how many integers \(n>0\) is \(n^2-1\) prime?

Choose one option.

Show answer
  • B. Exactly one

Explanation

\(n^2-1=(n-1)(n+1)\). For \(n=1\) it is 0; for \(n\ge3\) both factors exceed 1, so it is composite. Only \(n=2\) gives 3, which is prime.

Study Discrete mathematics in ZWMath →

Review the concept: Prime number

A prime number \(p\) is an integer greater than 1 whose only positive divisors are 1 and itself.

\[p>1,\quad d>0,\ d\mid p\ \Rightarrow\ d\in\{1,p\}\]

More practice problems: prime number

← ZW-PRIME-NUMBER-009