 Diagonal, horizontal, and vertical lines in the number spiral correspond to polynomials of the form
where "b" and "c" are integer constants.When "b" is even, the lines are diagonal, and either all numbers are odd, or all are even, depending on the value of "c".It is therefore no surprise that all primes other than 2 lie in alternate diagonals of the Ulam spiral.