OFFSET
1,1
COMMENTS
This sequence's prior, erroneous, title, was 'Numbers with squarefree part 14 whose decimal representations have a prime number of copies of each digit 0-9'. James G. Merickel, Sep 19 2013
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..18
EXAMPLE
MAPLE
N:= 10^100: # to get all terms <= N
filter:= proc(n) local L, P, d;
L:= convert(n, base, 10);
P:= Vector(10);
for d in L do P[d+1]:= P[d+1]+1 od:
andmap(isprime, P);
end proc:
sort(select(filter, [seq(seq(2^r*7^s, r=0..floor(log[2](N/7^s))), s=0..floor(log[7](N)))])); # Robert Israel, May 08 2017
PROG
(PARI) prDigits(n)=my(d=digits(n), v=vector(10)); for(i=1, #d, v[d[i]+1]++); for(i=1, 10, if(!isprime(v[i]), return(0))); 1
list(lim)=my(v=List(), t); for(a=0, log(lim+.5)\log(7), t=7^a; while(t<=lim, if(prDigits(t), listput(v, t)); t<<=1)); vecsort(Vec(v)) \\ Charles R Greathouse IV, Sep 19 2013
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
James G. Merickel, Oct 02 2012
EXTENSIONS
Name changed to remove ambiguity by James G. Merickel, Sep 17 2013
STATUS
approved