OFFSET
1,1
COMMENTS
29 and 31 are twin primes.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
If k=48, then 29*k - 31 = 1361 (prime).
MATHEMATICA
Select[Range[2, 500], PrimeQ[29#-31]&] (* Harvey P. Dale, Apr 22 2016 *)
PROG
(Magma) [n: n in [2..100000] | IsPrime(29*n - 31)]; // Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime((29*n-31)) \\ Charles R Greathouse IV, Jun 12 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, May 20 2005
STATUS
approved