OFFSET
1,1
LINKS
K. D. Bajpai, Table of n, a(n) for n = 1..10000
EXAMPLE
a(6) = 17. (1+7) + (1*7) = 8 + 7 = 15 = 3 * 5, which is semiprime.
a(10) = 38. (3+8) + (3*8) = 11 + 24 = 35 = 5 * 7, which is semiprime.
MAPLE
MATHEMATICA
Select[Range[1000], PrimeOmega[(Plus@@IntegerDigits[#]) + (Times@@IntegerDigits[#])] == 2 &]
PROG
(PARI) for(n=1, 500, d=digits(n); s=sumdigits(n); p=prod(i=1, #d, d[i]); if(bigomega(s+p)==2, print1(n, ", "))) \\ Derek Orr, Aug 27 2015
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
K. D. Bajpai, Jul 28 2015
STATUS
approved