login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A120227 Numbers n such that a+n and a*n+1 are prime, case a=5. 4
2, 6, 8, 12, 14, 26, 36, 38, 42, 48, 54, 56, 62, 66, 84, 92, 98, 104, 108, 126, 132, 152, 162, 176, 188, 194, 206, 218, 234, 236, 246, 258, 264, 272, 276, 302, 306, 344, 348, 362, 374, 416, 426, 428, 444, 456, 462, 474, 482, 504, 518, 542, 558, 572, 594, 602 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Case a=4 A120226.

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..1000

MATHEMATICA

Reap[Do[Do[If[PrimeQ[{n+x, n*x+1}]=={True, True}, Sow[x]], {x, 2, 1000, 2}], {n, 5, 5}]][[2, 1]]

Select[Range[700], And@@PrimeQ[{#+5, 5#+1}]&] (* From Harvey P. Dale, Dec 18 2011 *)

CROSSREFS

Cf. A092945, A106057 A085063, A120223, A120224, A120225, A120226.

Sequence in context: A102166 A024894 A153880 * A138626 A178406 A189515

Adjacent sequences:  A120224 A120225 A120226 * A120228 A120229 A120230

KEYWORD

nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), Jun 10 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 19:13 EST 2012. Contains 206085 sequences.