OFFSET
1,1
COMMENTS
3 and 5 are twin primes.
LINKS
Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
EXAMPLE
If k=4, then 3*k - 5 = 7 (prime).
If k=28, then 3*k - 5 = 79 (prime).
MATHEMATICA
Select[Range[2, 250], PrimeQ[3#-5]&] (* Harvey P. Dale, Mar 31 2024 *)
PROG
(Magma) [n: n in [2..300] | IsPrime(3*n-5)]; // Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime((3*n-5)) \\ Charles R Greathouse IV, Jun 12 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, May 20 2005
STATUS
approved