OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..2000
FORMULA
A010888(a(n)) = 1. - Reinhard Zumkeller, Feb 25 2005
MATHEMATICA
Select[ Range[ 2000 ], PrimeQ[ # ] && Mod[ #, 9 ] == 1 & ]
Select[Prime[Range[350]], Mod[#, 9]==1&] (* Harvey P. Dale, Jan 06 2013 *)
PROG
(PARI) isok(p) = { isprime(p) && p%9 == 1 } \\ Harry J. Smith, Jul 19 2009
(Magma) [ p: p in PrimesUpTo(2000) | p mod 9 in {1} ]; // Vincenzo Librandi, Dec 25 2010
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amarnath Murthy, Apr 23 2001
EXTENSIONS
More terms from Robert G. Wilson v, May 10 2001
STATUS
approved