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