login
A173904
Numbers n such that 7*n+-1 are prime.
1
6, 60, 66, 126, 150, 156, 186, 204, 246, 276, 306, 324, 330, 384, 390, 480, 504, 546, 594, 606, 684, 774, 786, 840, 870, 876, 900, 936, 966, 1044, 1050, 1080, 1176, 1260, 1266, 1320, 1326, 1434, 1476, 1494, 1500, 1530, 1596, 1650, 1674, 1710, 1914, 1956
OFFSET
1,1
LINKS
MATHEMATICA
Select[Range[2000], PrimeQ[7 # + 1]&& PrimeQ[7 # - 1]&] (* Vincenzo Librandi, Apr 05 2013 *)
PROG
(Magma) [n: n in [1..2000] | IsPrime(7*n+1) and IsPrime(7*n-1)]
CROSSREFS
Sequence in context: A229097 A217399 A098185 * A308413 A204093 A136927
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 08 2010
STATUS
approved