OFFSET
1,1
COMMENTS
Heuristically, all digits appear a prime number of times for an infinite number of values of n. A216873 contains the subset with 9 in place of 8.
a(19) > 5000000. - James G. Merickel, Apr 17 2015
PROG
(PARI)
/* program prints asterisks for values giving 9 instead of just 8,
and stops if all digits appear a prime number of times. */
{ a=2; p=1; while(p, b=a; c=vectorsmall(10); while(b,
d=b%10; b\=10; c[d+1]++; next()); e=3; for(i=1, 10,
if(isprime(c[i])==0, e--; if(e==0, break()))); if(e,
print1(p); if(e>1, print1("*"); if(e==3, break())); print1("\n"));
p++; a+=a; next()) }
CROSSREFS
KEYWORD
nonn,base,hard
AUTHOR
James G. Merickel, Sep 18 2012
EXTENSIONS
a(18) added by James G. Merickel, Jul 07 2013
STATUS
approved