Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".
Table of n, a(n) for n=1..42.
E.g. 2002 = 2+0+0+2 = 4 prime factors namely 126.96.36.199.
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.