OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(41) = 3338 = 2 * 1669, the 938th semiprime.
MAPLE
R:= [0, 3, 6, 8, 9]:
Res:= NULL: count:= 0:
for m from 1 while count < 100 do
L:= convert(m, base, 5);
n:= add(R[L[i]+1]*10^(i-1), i=1..nops(L));
if numtheory:-bigomega(n)=2 then Res:= Res, n; count:= count+1 fi
od:
Res; # Robert Israel, Feb 16 2020
PROG
(Magma) IsSemiprime:=func<n | &+[d[2]: d in Factorization(n)] eq 2>; [n: n in [2..3700] | IsSemiprime(n) and Intseq(n) subset [0, 3, 6, 8, 9]]; // Bruno Berselli, Sep 25 2012
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Jonathan Vos Post, Sep 25 2012
STATUS
approved