|
|
A216304
|
|
Values of k such that 10*k+1 and 10*k+7 alone are prime between 10*k and 10*k+9.
|
|
1
|
|
|
3, 6, 15, 25, 27, 33, 54, 57, 60, 75, 94, 97, 99, 118, 123, 129, 132, 136, 162, 174, 186, 190, 201, 213, 228, 234, 235, 237, 241, 244, 255, 267, 279, 285, 306, 318, 330, 351, 354, 363, 369, 402, 405, 439, 444, 445, 456, 459, 465, 487, 495, 508, 510, 538
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
t = {}; Do[ps = Select[Range[10*n, 10*n + 9], PrimeQ]; If[ps == {10*n + 1, 10*n + 7}, AppendTo[t, n]], {n, 0, 699}]; t (* T. D. Noe, Sep 04 2012 *)
Select[Range[600], Boole[PrimeQ[Range[10 #, 10 #+9]]]=={0, 1, 0, 0, 0, 0, 0, 1, 0, 0}&] (* Harvey P. Dale, Sep 15 2016 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|