n的平方+3n+7一定是质数吗?

问题描述:

n的平方+3n+7一定是质数吗?

n^2+3n+7
=n^2+3n+2+5
=(n+2)(n+1)+5
当n+1或n+2为5的倍数时,有因数5,是合数.