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!)
A087090 Positive numbers n such that p=n^2+n+41 and p+2 are twin primes. 2
0, 5, 12, 15, 17, 20, 24, 35, 45, 50, 59, 75, 90, 92, 105, 110, 119, 120, 132, 134, 167, 174, 182, 222, 225, 230, 264, 269, 285, 320, 335, 339, 362, 365, 372, 390, 419, 434, 437, 455, 462, 470, 479, 495, 539, 540, 549, 572, 594, 705, 710, 714, 759, 785, 789 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Pierre CAMI and Charles R Greathouse IV, Table of n, a(n) for n = 1..10000 (first 2028 terms from Cami)
EXAMPLE
5 is in the sequence because 71 and 73 are twin primes.
MATHEMATICA
Select[Range[0, 800], AllTrue[#^2 +#+{41, 43}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, May 20 2016 *)
PROG
(PARI) isok(n) = isprime(n^2+n+41) && isprime(n^2+n+43); \\ Michel Marcus, Oct 03 2013
CROSSREFS
Sequence in context: A009824 A286276 A314273 * A161756 A314274 A184399
KEYWORD
nonn
AUTHOR
Zak Seidov, Aug 08 2003
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 June 9 13:21 EDT 2024. Contains 373240 sequences. (Running on oeis4.)