The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (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
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

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 25 12:29 EDT 2024. Contains 372788 sequences. (Running on oeis4.)