OFFSET
1,1
COMMENTS
Primes whose base 9 representation contains only zeros and 1's.
LINKS
Zak Seidov, Table of n, a(n) for n = 1..3000
MATHEMATICA
Select[Prime[Range[3000000]], Union[Most[Rest[DigitCount[#, 9]]]]=={0}&] (* Harvey P. Dale, Jul 31 2013 *)
PROG
(PARI) lista(nn) = {forprime(p=2, nn, if (vecmax(digits(p, 9)) <= 1, print1(p, ", ")); ); } \\ Michel Marcus, Oct 10 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Nov 19 2002
EXTENSIONS
More terms from Sascha Kurz, Jan 03 2003
STATUS
approved