Let $f(n)=n^2+n+1$. While experimenting I found that
Given $m,n\in\mathbb N, \: n>1$.
If $f(2n)\in\mathbb P$ and $f((3m+1)n)\in\mathbb P$ then $3|n$.
It has ben tested for $0\le m <1000$ and $1<n<1000$. I've tried to let $n=3k+i$ looking for polynomials of $k$ for $i=1,2$ but it didn't work well.
My hope is that someone can prove the conjecture.
Hint: Show the following. If you're stuck, explain what you've tried.
Note: Don't forget to check for the $a=1$ edge case in the following.