OFFSET
1,1
COMMENTS
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
a(1) = 4 because 4 (base 5) = 4 and 4 (base 10) = 2 * 2, a semiprime (A001358).
a(2) = 5 because 5 (base 5) = 10 and 10 (base 10) = 2 * 5.
a(3) = 9 because 9 (base 5) = 14 and 14 (base 10) = 2 * 7.
a(4) = 11 because 11 (base 5) = 21 and 21 (base 10) = 3 * 7.
a(5) = 12 because 12 (base 5) = 22 and 22 (base 10) = 2 * 11.
MATHEMATICA
Select[Range[228], Plus @@ Last /@ FactorInteger[FromDigits[IntegerDigits[ #, 5]]] == 2 &] (* Ray Chandler, Aug 05 2005 *)
Select[Range[300], PrimeOmega[FromDigits[IntegerDigits[#, 5], 10]]==2&] (* Harvey P. Dale, Aug 14 2023 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Jonathan Vos Post, Jul 30 2005
EXTENSIONS
Corrected and extended by Ray Chandler, Aug 05 2005
STATUS
approved