OFFSET
1,1
COMMENTS
5 and 7 are twin primes.
LINKS
Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
EXAMPLE
If k=2, then 5*k - 7 = 3 (prime).
If k=34, then 5*k - 7 = 163 (prime).
MATHEMATICA
Select[Range[2, 300], PrimeQ[5#-7]&] (* Harvey P. Dale, May 22 2013 *)
PROG
(Magma) [n: n in [2..300]| IsPrime(5*n-7)]; // Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime(5*n-7) \\ Charles R Greathouse IV, Dec 27 2013
(PARI) [n\5+2 | n<-primes(10^3), n%5==3] \\ Charles R Greathouse IV, Dec 27 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, May 20 2005
EXTENSIONS
More terms from Kyle D. Balliet, Feb 28 2009
STATUS
approved