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
Vincenzo Librandi, Table of n, a(n) for n = 1..5000
FORMULA
MAPLE
select(isprime, [k^2-7*k+7$k=1..250]); # Muniru A Asiru, Nov 24 2018
MATHEMATICA
Select[Table[n^2-7n+7, {n, 6, 1000}], PrimeQ] (* Vincenzo Librandi, Dec 12 2011 *)
PROG
(Magma) [a: n in [6..200] | IsPrime(a) where a is n^2 - 7*n + 7]; // Vincenzo Librandi, Dec 12 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Giovanni Teofilatto, Dec 27 2003
EXTENSIONS
More terms from David Wasserman, Sep 15 2005
STATUS
approved