login
A089376
Primes of the form k^2 - 7*k + 7.
3
7, 37, 67, 127, 151, 337, 457, 547, 751, 1051, 1117, 1327, 1801, 2251, 2347, 2647, 2857, 3187, 3301, 4027, 5107, 6637, 6967, 7477, 8737, 9697, 10501, 11551, 13567, 17551, 21751, 23251, 23557, 25117, 28051, 28387, 30097, 31147, 33301, 35527
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) = A089373(n)^2 - 7*A089373(n) + 7. - David Wasserman, Sep 15 2005
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
Cf. A089373 (corresponding k).
Sequence in context: A289353 A221982 A104915 * A337423 A031395 A138906
KEYWORD
nonn,easy
AUTHOR
Giovanni Teofilatto, Dec 27 2003
EXTENSIONS
More terms from David Wasserman, Sep 15 2005
STATUS
approved