 As in the Ulam spiral, quadratic polynomials generate numbers that lie in straight lines.Vertical lines correspond to numbers of the form "k"2 − "k" + "M".Vertical and diagonal lines with a high density of prime numbers are evident in the figure.