Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 4500 articles have referenced us, often saying "we would not have discovered this result without the OEIS".
Table of n, a(n) for n=1..42.
E.g. 2002 = 2+0+0+2 = 4 prime factors namely 188.8.131.52.
Select[Range, !PrimeQ[#]&&PrimeOmega[#]==Total[IntegerDigits[#]]&] (* Jayanta Basu, May 30 2013 *)
Sequence in context: A049725 A183723 A247152 * A144565 A115912 A083096
Adjacent sequences: A050686 A050687 A050688 * A050690 A050691 A050692
Patrick De Geest, Aug 15 1999.