login
A254672
Primes prime(n) such that prime(n) + 6*n is also prime.
2
5, 7, 11, 17, 19, 29, 31, 37, 43, 47, 53, 67, 71, 73, 79, 89, 101, 109, 113, 127, 149, 151, 157, 167, 181, 191, 193, 197, 227, 257, 263, 271, 277, 281, 331, 347, 349, 379, 383, 431, 433, 449, 467, 479, 499, 509, 521, 523, 547, 563, 569, 571, 577, 587, 619, 631
OFFSET
1,1
LINKS
EXAMPLE
prime(5) = 11 is in the sequence because 11 + 6*5 = 41 is prime.
prime(8) = 19 is in the sequence because 19 + 6*8 = 67 is prime.
MATHEMATICA
Prime[Select[Range[150], PrimeQ[Prime[#] + 6 #] &]]
PROG
(Magma) [NthPrime(n): n in [1..200] | IsPrime(NthPrime(n)+6*n)]
CROSSREFS
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Feb 05 2015
STATUS
approved