OFFSET
1,2
COMMENTS
a(n) = A024906(n)/2. - Zak Seidov, Feb 02 2010
LINKS
Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
EXAMPLE
If k=99 then 18*k + 1 = 1783 (prime).
MATHEMATICA
Select[Range[200], PrimeQ[18#+1]&] (* Harvey P. Dale, Mar 14 2011 *)
PROG
(Magma) [ n: n in [0..1500] | IsPrime(18*n + 1) ]; // Vincenzo Librandi, Jan 31 2011
(PARI) is(n)=isprime(18*n+1) \\ Charles R Greathouse IV, Feb 20 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Oct 20 2005
EXTENSIONS
More terms from Zak Seidov, Feb 02 2010
STATUS
approved