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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A108454 Numbers n such that both 151*n + 149 and 149*n + 151 are primes. 0
30, 60, 98, 102, 188, 240, 242, 252, 258, 260, 350, 368, 408, 470, 492, 498, 540, 638, 650, 660, 812, 818, 840, 914, 954, 968, 998, 1044, 1050, 1092, 1098, 1110, 1148, 1152, 1170, 1220, 1262, 1302, 1310, 1352, 1532, 1584, 1610, 1668, 1670, 1730, 1770, 1772 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Intersection of A108029 and A108030.

LINKS

Table of n, a(n) for n=1..48.

MATHEMATICA

Do[If[PrimeQ[151*n + 149]&&PrimeQ[149*n + 151], Print[n]], {n, 2000}]

Select[Range[2000], AllTrue[{151#+149, 149#+151}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Aug 12 2015 *)

CROSSREFS

Cf. A108029, A108030.

Sequence in context: A050519 A069819 A143207 * A235483 A064783 A228877

Adjacent sequences:  A108451 A108452 A108453 * A108455 A108456 A108457

KEYWORD

nonn

AUTHOR

Zak Seidov, Jun 03 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 28 08:28 EST 2020. Contains 332323 sequences. (Running on oeis4.)