OFFSET
1,2
LINKS
Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
Chris Caldwell, The first 1,000 primes.
EXAMPLE
10*1 + 9 = 19 (prime);
10*40 + 9 = 409 (prime);
10*70 + 9 = 709 (prime).
MATHEMATICA
Select[Range[0, 170], PrimeQ[10# + 9] &] (* Ray Chandler, Nov 07 2006 *)
PROG
(Magma) [n: n in [0..3000]| IsPrime(10*n+9)]; // Vincenzo Librandi, Apr 06 2011
(PARI) is(n)=isprime(10*n+9) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Parthasarathy Nambi, Feb 04 2005
EXTENSIONS
Edited and extended by Ray Chandler, Nov 07 2006
STATUS
approved