如果2n+1=k2,3n+1=m2,则5n+3=4(2n+1)-(3n+1)=4k2-m2=(2k+m)(2k-m).
因为5n+3>(3n+1)+2=m2+2>2m+1,所以2k-m≠1(否则5n+3=2k+m=2m+1).从而5n+3=(2k+m)(2k-m)是合数.
如果2n+1=k2,3n+1=m2,则5n+3=4(2n+1)-(3n+1)=4k2-m2=(2k+m)(2k-m).
因为5n+3>(3n+1)+2=m2+2>2m+1,所以2k-m≠1(否则5n+3=2k+m=2m+1).从而5n+3=(2k+m)(2k-m)是合数.