This question is related to this sequence A139482. A commentator gives the following formula for $a_m$
$$a_m = {3m^2-9m+10 \above 1.5pt 2}$$
I have that you should consider the sequence $b_n =3n+2$ and arrange the terms as follows:
$$B_3 = \begin{matrix} &&&&&65&\ldots \\ &&&&47&62&\ldots \\ &&&32&44&59&\ldots \\ &&20&29&41&56&\ldots \\ &11&17&26&38&53&\ldots \\ 5&8&14&23&35&50&\ldots \end{matrix}$$
Then $a_m$ appears to be the the sequence on the uppermost slope of $B_3$ for $m>2$. In particular $a_m$ can be written as $b_n$ for some suitable $n$. Dirichlet tells us there are infinitely many primes in $B_3$. The obvious question is are there infinitely many primes on the uppermost slope? If that is too much to ask can we show that every column or row of $B_3$ has at least one prime number?
Update: I believe I have the differences of consecutive terms on the uppermost slope: $a_{m+1}-a_m=3(m+1)$. So that $a_{m+1} = 3(m+1)+a_m$. I also have that $(3,a_m) =1$ for every $m$. Would not Dirichlet's theorem tell us there are infinitely many primes of the form $3(m+1)+a_m$? <--- The answer to this question is NO!