Re: Sum of Prime factors
- To: mathgroup at smc.vnet.net
- Subject: [mg30825] Re: Sum of Prime factors
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Thu, 20 Sep 2001 03:51:17 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <9o98p1$cqi$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, ?FactorInteger "FactorInteger[n] gives a list of the prime factors of the integer n, \ together with their exponents" Regards Jens Shyam Sunder Gupta wrote: > > Can any body help in providing a simple mathematica code for finding sum > of digits of prime factors(including repetitions) of a number. For > example 198 =2*3*3*11 , so sum of digits of prime factors= > 2+3+3+1+1=10. > > Shyam Sunder Gupta > email: guptass at rediffmail.com