OFFSET
1,3
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
k = 0 is a term because 10*0 + 97 = 97 (prime).
k = 27 is a term because 10*27 + 97 = 367 (prime).
MATHEMATICA
For[n = 0, n < 150, n++, If[PrimeQ[10*n + 97], Print[n]]] (* Stefan Steinerberger, Feb 12 2006 *)
Select[Range[0, 200], PrimeQ[10#+97]&] (* Harvey P. Dale, Oct 23 2019 *)
PROG
(PARI) is(n)=isprime(10*n+97) \\ Charles R Greathouse IV, Jun 13 2017
(Magma) [n: n in [0..400] | IsPrime(10*n+97)]; // G. C. Greubel, Oct 22 2023
(SageMath) [n for n in (0..400) if is_prime(10*n+97)] # G. C. Greubel, Oct 22 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Jul 05 2005
EXTENSIONS
More terms from Stefan Steinerberger, Feb 12 2006
STATUS
approved