OFFSET
1,1
EXAMPLE
a(18)=9134 is a term because 9134, 913,134,34,91,4,9 all are semiprimes.
MATHEMATICA
aspQ[n_]:=Module[{idn=IntegerDigits[n]}, AllTrue[Union[FromDigits/@Join[NestList[Rest[#]&, idn, Length[idn]-1], NestList[Most[#]&, idn, Length[idn]-1]]], PrimeOmega[#]==2&]]; Select[Range[10^6], aspQ] (* The program generates the first 24 terms of the sequence. *) (* Harvey P. Dale, Sep 04 2025 *)
CROSSREFS
KEYWORD
base,fini,full,nonn
AUTHOR
Shyam Sunder Gupta, Jul 28 2003
STATUS
approved
