OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Alonso del Arte, Ulam spiral (2009). [Note that "East" and "West" in this video match the cover of Scientific American, but "North" and "South" are switched.]
BackIssues.com, Scientific American March 1964 back issue
MathWorld, Prime Spiral
Scientific American, March 1964 cover
Wikipedia, Ulam Spiral
FORMULA
Positive numbers of the form 4n^2 - 7n + 4 with no more than two divisors.
MATHEMATICA
Select[Table[4 n^2 - 7 n + 4, {n, 0, 199}], Length[Divisors[ # ]] < 3 &]
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Alonso del Arte, Nov 16 2009
STATUS
approved