login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A086381 Numbers n such that p=n^2+2 and p+2 are primes. 10
1, 3, 15, 33, 45, 57, 117, 147, 243, 255, 303, 375, 423, 447, 453, 477, 573, 753, 837, 897, 903, 1035, 1497, 1905, 2055, 2085, 2193, 2283, 2433, 2487, 2535, 2583, 2757, 2823, 2943, 2955, 3003, 3213, 3285, 3345, 3603, 3657, 3687, 4407, 4575, 4977, 5037, 5043, 5325, 5355, 5367, 5403, 5727 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

The twin primes are given by A253639 and A085554. Except for the initial term, all a(n)=3 (mod 6). - M. F. Hasler, Jan 16 2015

LINKS

M. F. Hasler, Table of n, a(n) for n = 1..10000

FORMULA

Intersection of A067201 and A007591. - M. F. Hasler, Jan 19 2015

PROG

(MAGMA)[n: n in [0..10000]|IsPrime(n^2+2) and IsPrime(n^2+4)] // Vincenzo Librandi, Dec 16 2010

(PARI) is_A086381(x)=ispseudoprime(x^2+2)&&ispseudoprime(x^2+4)

forstep(x=1, 9999, 2, is_A086381(x)&&print1(x", ")) \\ M. F. Hasler, Jan 16 2015

CROSSREFS

Cf. A253639, A085554, A059100, A087475.

Sequence in context: A031039 A152813 A184235 * A031091 A211441 A086380

Adjacent sequences:  A086378 A086379 A086380 * A086382 A086383 A086384

KEYWORD

easy,nonn

AUTHOR

Zak Seidov, Sep 07 2003

EXTENSIONS

More terms from Vincenzo Librandi, Dec 16 2010

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 23 22:36 EST 2020. Contains 331177 sequences. (Running on oeis4.)