|
|
A087681
|
|
Numbers n such that n + 6 and n - 6 are both prime.
|
|
8
|
|
|
11, 13, 17, 23, 25, 35, 37, 47, 53, 65, 67, 73, 77, 95, 103, 107, 133, 143, 145, 157, 173, 185, 187, 205, 217, 233, 235, 245, 257, 263, 275, 277, 287, 343, 353, 373, 395, 403, 415, 425, 427, 437, 455, 473, 485, 493, 497, 515, 563, 593, 607, 613, 625, 637, 647
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Many terms are of the form 5 + n + n^2 or 5 + 2*n^2: A054794.
|
|
LINKS
|
|
|
MATHEMATICA
|
Select[Range[2, 700], AllTrue[#+{6, -6}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Jan 26 2019 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|