OFFSET
1,7
COMMENTS
We have a(n) = 0 for n < 7 because no prime represented in base 3 can have exactly two ones (or any larger even number).
EXAMPLE
The smallest number in the class concerned is 773, which is represented as 1001122 in base 3. There are 41 other 7-digit numbers with the same digits in base 3 that are also prime.
MATHEMATICA
Table[cnt = 0; Do[If[PrimeQ[i], d = IntegerDigits[i, 3]; c = Transpose[Tally[d]][[2]]; If[PrimeQ[c] == {True, True, True}, cnt++]], {i, 3^(n - 1), 3^n - 1}]; cnt, {n, 13}] (* T. D. Noe, Sep 27 2012 *)
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
James G. Merickel, Sep 25 2012
EXTENSIONS
a(20)-a(22) from Chai Wah Wu, Nov 12 2015
STATUS
approved