login
A089358
Numbers n such that n^2 - 3n + 3 is prime.
1
3, 4, 5, 7, 8, 10, 14, 16, 17, 19, 22, 23, 26, 29, 35, 40, 43, 52, 56, 59, 61, 64, 68, 71, 73, 77, 79, 80, 82, 91, 92, 101, 103, 107, 112, 113, 119, 121, 133, 140, 143, 145, 149, 152, 155, 157, 163, 164, 166, 169, 170, 175, 178, 190, 191, 194, 196
OFFSET
1,1
REFERENCES
M. Cerasoli, F. Eugeni and M. Protasi, Elementi di Matematica Discreta, Bologna 1988
Emanuele Munarini and Norma Zagaglia Salvi, Matematica Discreta,UTET, CittaStudiEdizioni, Milano 1997
LINKS
FORMULA
a(n) = A002384(n)+2.
MATHEMATICA
Select[Range[200], PrimeQ[#^2-3#+3]&] (* Harvey P. Dale, Mar 23 2012 *)
PROG
(PARI) is(n)=isprime(n^2-3*n+3) \\ Charles R Greathouse IV, Jun 12 2017
CROSSREFS
Sequence in context: A285950 A187689 A137292 * A173001 A325130 A047500
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, Dec 27 2003
EXTENSIONS
Corrected by Harvey P. Dale, Mar 23 2012
STATUS
approved