OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..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 - 9n + 6 with no more than two divisors.
MATHEMATICA
Select[Table[4 n^2 - 9 n + 6, {n, 200}], Length[Divisors[ # ]] < 3 &]
CROSSREFS
Cf. A054556, all numbers of the form 4n^2 - 9n + 6. Noncomposites of the eastern ray are in A168022. Primes of the northeastern ray are in A073337. Noncomposites of the northwestern ray are in A168024. Noncomposites of the western ray are in A168025. Noncomposites of the southwestern ray are in A168026. Noncomposites of the southern ray are in A168027.
KEYWORD
easy,nonn
AUTHOR
Alonso del Arte, Nov 16 2009
STATUS
approved