

A172154


Numbers k such that 24*k+5 are both prime.


1



1, 2, 6, 7, 12, 13, 16, 21, 23, 27, 29, 33, 34, 44, 49, 54, 62, 68, 71, 72, 78, 83, 89, 92, 98, 99, 103, 106, 112, 114, 119, 148, 149, 154, 163, 167, 176, 177, 181, 182, 187, 188, 197, 209, 216, 218, 222, 232, 236, 237, 244, 252, 254, 257, 259, 266, 274, 279, 288, 301
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


LINKS



EXAMPLE

1 is a term because 24*15 = 19 (prime) and 24*1+5 = 29 (prime).


MAPLE

q:= n> (t> andmap(isprime, [t5, t+5]))(24*n):


MATHEMATICA

okQ[n_]:=Module[{n24=24 n}, PrimeQ[n245]&&PrimeQ[n24+5]]; Select[Range[500], okQ] (* Harvey P. Dale, Feb 16 2010 *)


CROSSREFS



KEYWORD

nonn


AUTHOR



EXTENSIONS

Sequence corrected (by deleting improper terms and adding additional terms) by Harvey P. Dale, Feb 16 2010


STATUS

approved



