login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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

Harvey P. Dale, Table of n, a(n) for n = 1..1000

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

Adjacent sequences:  A089355 A089356 A089357 * A089359 A089360 A089361

KEYWORD

easy,nonn

AUTHOR

Giovanni Teofilatto, Dec 27 2003

EXTENSIONS

Corrected by Harvey P. Dale, Mar 23 2012

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 16 04:26 EDT 2019. Contains 325064 sequences. (Running on oeis4.)