OFFSET
1,1
COMMENTS
Odd-digit primes p,q,r are not necessarily all different, e.g. 75=3*5*5, 99=3*3*11, 1533=3*7*73, etc. Cf. A107076: Odd-digit semiprimes divisors of which are odd-digit primes.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
MATHEMATICA
With[{odps=Select[Prime[Range[100]], And@@OddQ[IntegerDigits[#]]&]}, Union[Select[Times@@@Tuples[odps, 3], And@@OddQ[IntegerDigits[#]]&]]] (* Harvey P. Dale, Feb 02 2012 *)
PROG
(PARI) D=[0, 2, 4, 6, 8];
oddDigits(n)=#setintersect(Set(digits(n)), D)==0
list(lim)=my(v=List(), P=v, L=lim\3, pq, t); forprime(p=3, L\3, if(oddDigits(p), listput(P, p))); P=Vec(P); for(i=1, #P, for(j=1, i, pq=P[i]*P[j]; if(pq>L, break); for(k=1, j, t=pq*P[k]; if(t>lim, break); if(oddDigits(t), listput(v, t))))); P=0; Set(v) \\ Charles R Greathouse IV, Feb 15 2017
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Zak Seidov, May 10 2005
EXTENSIONS
Corrected and extended by Harvey P. Dale, Feb 02 2012
STATUS
approved