OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
lst={}; Do[p=Prime[n]; If[PrimeQ[6*p-7], AppendTo[lst, p]], {n, 6!}]; lst (* Vladimir Joseph Stephan Orlovsky, Dec 23 2008 *)
Select[Prime[Range[110]], PrimeQ[6#-7]&] (* Harvey P. Dale, Oct 25 2011 *)
PROG
(Magma) [n: n in [0..900] | IsPrime(n) and IsPrime(6*n - 7)]; // "or" [p: p in PrimesUpTo(900) | IsPrime(6*p - 7)]; // Vincenzo Librandi, Oct 20 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Dec 21 2008
EXTENSIONS
Corrected by D. S. McNeil, Dec 10 2010
STATUS
approved