cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A089358 Numbers k such that k^2 - 3*k + 3 is prime.

This page as a plain text file.
%I A089358 #18 Aug 28 2025 06:31:26
%S A089358 3,4,5,7,8,10,14,16,17,19,22,23,26,29,35,40,43,52,56,59,61,64,68,71,
%T A089358 73,77,79,80,82,91,92,101,103,107,112,113,119,121,133,140,143,145,149,
%U A089358 152,155,157,163,164,166,169,170,175,178,190,191,194,196,205,208
%N A089358 Numbers k such that k^2 - 3*k + 3 is prime.
%D A089358 M. Cerasoli, F. Eugeni and M. Protasi, Elementi di Matematica Discreta, Bologna 1988.
%D A089358 Emanuele Munarini and Norma Zagaglia Salvi, Matematica Discreta,UTET, CittaStudiEdizioni, Milano 1997.
%H A089358 Harvey P. Dale, <a href="/A089358/b089358.txt">Table of n, a(n) for n = 1..1000</a>
%F A089358 a(n) = A002384(n)+2.
%t A089358 Select[Range[210],PrimeQ[#^2-3#+3]&] (* _Harvey P. Dale_, Mar 23 2012 *)
%o A089358 (PARI) is(n)=isprime(n^2-3*n+3) \\ _Charles R Greathouse IV_, Jun 12 2017
%K A089358 easy,nonn,changed
%O A089358 1,1
%A A089358 _Giovanni Teofilatto_, Dec 27 2003
%E A089358 Corrected by _Harvey P. Dale_, Mar 23 2012