The first few values of $y=3x^2+3x+1$ for integer values of $x$ are $7, 19, 37, 61, 91$, and $127$. I am wondering under what conditions of $x$ is $y$ a prime number?
I had initially hoped that Vieta's formula would produce something notable but was unsuccessful. I believe that knowing $3x^2+3x+1$ factors as $\frac1{12}(-6ix + \sqrt3-3i)(6ix+\sqrt3+3i)$ could be useful, although I have not been able to make any further progress and would appreciate some help.
I also wonder how the results on this might generalize over to other irreducible polynomials $ax^2+ax+1$, although I am still trying to pick apart the case for $a=3$.
Obviously, this is not an very easy problem to tackle. I predict that there exists infinitely many $x$ for which $y$ is a prime number. Indeed, this problem seems to be a corollary of generalization of Dirichlet's Theorem on Arithmetic Progression which is still an open problem. We even don't know, for what $x\in\mathbb{Z}$, $x^2+1$ is a prime number.