OFFSET
1,1
LINKS
Marius A. Burtea, Table of n, a(n) for n = 1..22530
EXAMPLE
46 is a term because 46 = 2*23, 4 = 2*2 and 6 = 2*3 are semiprimes.
469 is a term because 469 = 7*67, 49 = 7*7 and 6 = 2*3 are semiprimes.
1145 is a term because 1145 = 5*229, 14 = 2*7 and 15 = 3*5 are semiprimes.
Also 38159 belongs to the sequence. In fact: 38159 = 11*3469, 319 = 11*29 and 85 = 5*17 are semiprimes.
MATHEMATICA
spQ[n_] := Plus @@ Last /@ FactorInteger[n] == 2; ok[n_] := spQ[n] && Block[{d = IntegerDigits[n]}, If[OddQ@ Length@ d, PrependTo[d, 0]]; AllTrue[ FromDigits /@ Transpose[ Partition[d, 2]], spQ]]; Select[ Range@ 1655, ok] (* Giovanni Resta, Oct 29 2018 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Marius A. Burtea, Oct 26 2018
STATUS
approved