OFFSET
1,1
COMMENTS
LINKS
David A. Corneth, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Almost Prime.
Eric Weisstein's World of Mathematics, Emirp.
Eric Weisstein and Jonathan Vos Post, Emirpimes.
EXAMPLE
a(1) = 21168 is in this sequence because 21168 = 2^4 * 3^3 * 7^2 has exactly 9 prime factors counted with multiplicity and reverse(21168) = 86112 = 2^5 * 3^2 * 13 * 23 also has exactly 9 prime factors counted with multiplicity.
MATHEMATICA
okQ[n_]:=Module[{idn=IntegerDigits[n], ridn}, ridn=Reverse[idn]; idn!=ridn && PrimeOmega[n]==9&&PrimeOmega[FromDigits[ridn]]==9]; Select[Range[ 271000], okQ] (* Harvey P. Dale, Sep 24 2011 *)
PROG
(PARI) is(n) = {
my(r = fromdigits(Vecrev(digits(n))));
n!=r && bigomega(n) == 9 && bigomega(r) == 9
} \\ David A. Corneth, Mar 07 2024
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jonathan Vos Post, Jun 16 2005
STATUS
approved