5
$\begingroup$

Conjecture:

Let $n \in \mathbb{N}$ and $n$ odd.

Then the number $N=2^2 + n^2$ is prime, if and only if $N$ divides $2^{(N-1)/2} + 1$.

Thanks.

$\endgroup$
9
  • 1
    $\begingroup$ Couldn't find counterexamples up to n=10^8, might be wrong. $\endgroup$
    – joro
    Commented May 22, 2016 at 11:33
  • 1
    $\begingroup$ the "only if" part is Fermat's little theorem $\endgroup$ Commented May 22, 2016 at 12:25
  • 4
    $\begingroup$ Related: mathoverflow.net/questions/234348/… $\endgroup$ Commented May 22, 2016 at 13:04
  • 1
    $\begingroup$ No counterexamples for $n$ below $2^{32}$. In fact, below $2^{64}$ there is only one pseudoprime $N$ of the form $n^2+4$ (for $n=22047$), but it does not divive $2^{(N-1)/2}+1$. $\endgroup$ Commented May 22, 2016 at 13:56
  • 1
    $\begingroup$ Tested all $n$ below $10^{11}$, no counterexamples found. $\endgroup$ Commented May 26, 2016 at 15:14

0

You must log in to answer this question.

Browse other questions tagged .