0

Prove that for every positive integer $n$, $38^n+31$ is a composite number. for example $38+31=69$ is composite. $38^2+31=1475$ is also composite. I have tried modulo but it didn't work.

Satvik Mashkaria
  • 3,636
  • 3
  • 19
  • 37

1 Answers1

1

For odd $n$, take modulo $3$. For even $n$, if $n \equiv 2 \pmod 4$, take modulo $5$. So only $n \equiv 0 \pmod 4$ case remains. (We can further break it up into the cases $12n+4,12n+8,12n$ with modulo $7$..)

Anyway, it is hard to get a conclusive answer out of these types of problems....