Placement AptitudeVery hardInfosys SP · CAT

For how many natural numbers n from 1 to 100 is n⁴ + 4 a prime number?

  1. A. 1
  2. B. 0
  3. C. 2
  4. D. 25

Correct answer: A. 1

Sophie Germain's identity: n⁴ + 4 = (n² + 2n + 2)(n² − 2n + 2). The second factor is 1 only when n = 1 (giving 5, a prime); for n ≥ 2 both factors exceed 1, so n⁴ + 4 is composite.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic