Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Consider a positive odd integer $N>1$ of form

$N=T^2+27U^2, T,U\in\mathbb{Z}, T, U\neq 0$

which cannot be divided by 3.

Question: Suppose N can be divided by a prime number $p$, $p\equiv1(mod 3)$. Is it possible that $p={T_0}^2+27{U_0}^2,T_0,U_0\in\mathbb{Z}$?

share|cite|improve this question
Yes, it is possible. For example $N = p = 43 = 27 + 16$. But I don't that is, what you are looking for. – martini Mar 26 '12 at 9:56

It isn't always possible...try $N = 28$, it is divisible by $7$ and this number cannot be written in that form.

A general result is that $p = x^2 + 27y^2$ if and only if $p\equiv 1$ mod $3$ and $2$ is a cube mod $p$.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.