OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
a(2)=118 is a term because 118 is a semiprime and all digits are 1 except one.
MATHEMATICA
Select[Sort[Flatten[Table[FromDigits/@Permutations[PadRight[{k}, n, 1]], {n, 3, 6}, {k, Range[0, 9]}]]], PrimeOmega[#]==2&&Length[Union[ IntegerDigits[ #]]]>1&] (* Harvey P. Dale, Jun 13 2020 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Shyam Sunder Gupta, Apr 29 2005
STATUS
approved