Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can we find Gaussian primes π=1+8Z[i] with N(π)<1000?

It's an exercise in computational number theory. Either by hand or by computer, can we find the Gaussian primes π=1+8Z[i]? To keep the list finite I guess we could have N(π)<10000.

For example, is p=(1+8i) a prime? Or p=(7+8i)? I don't even know how to index the primes less than these. The norms are 12+82=65=5×13 and (7)2+82=113, so the first could factor and the second does not.

For p=(a+bi) to check it is prime over Z[i], is it sufficient to check that N(p)=a2+b2 is a prime over Z?

It would be great to see the code in Sage or Pari/GP and that would be an acceptable answer.