Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A153645
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A153645 Primes p such p^2+4 and p^2+4p+2 are also prime. +0
1
3, 5, 7, 13, 17, 47, 67, 73, 137, 167, 277, 307, 313, 487, 503, 593, 607, 613, 787, 823, 1117, 1123, 1237, 1523, 1543, 1637, 1987, 2777, 2887, 3037, 3163, 3433, 3457, 3463, 3797, 3853, 4093, 4283, 4583, 5113, 5297, 5323, 5683, 5953, 6047, 6577, 6803, 6823 (list; graph; listen)
OFFSET

1,1

COMMENT

Subsequence of A062324.

EXAMPLE

For prime p = 3, p^2+4 = 13 and p^2+4p+2 = 23 are prime; for p = 67, p^2+4 = 4493 and p^2+4p+2 = 4759 are prime.

MAPLE

a := proc (n) if isprime(n) = true and isprime(n^2+4) = true and isprime(n^2+4*n+2) = true then n else end if end proc: seq(a(n), n = 1 .. 7000); [From Emeric Deutsch (deutsch(AT)duke.poly.edu), Jan 02 2009]

PROGRAM

(MAGMA) [ p: p in PrimesUpTo(7000) | IsPrime(p^2+4) and IsPrime(p^2+4*p+2) ];

CROSSREFS

Cf. A062324 (p and p^2+4 are both prime).

Sequence in context: A073638 A066464 A062324 this_sequence A106878 A079481 A075571

Adjacent sequences: A153642 A153643 A153644 this_sequence A153646 A153647 A153648

KEYWORD

nonn

AUTHOR

Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Dec 30 2008

EXTENSIONS

Edited, corrected (three terms deleted) and extended beyond a(10) by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Jan 02 2009

Corrected and extended by Emeric Deutsch (deutsch(AT)duke.poly.edu), Jan 02 2009

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research