Re: count zeros in a number
- To: mathgroup at smc.vnet.net
- Subject: [mg121918] Re: count zeros in a number
- From: Mark Adler <madler at alumni.caltech.edu>
- Date: Thu, 6 Oct 2011 04:25:30 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <j69104$rda$1@smc.vnet.net> <j6e5ti$kbr$1@smc.vnet.net> <j6h3kn$74t$1@smc.vnet.net>
On 2011-10-05 01:14:15 -0700, Richard Fateman said: > Proof that it is esoteric? All the previous posters (me too) were > unaware of it. I posted its use about five replies in. However for some reason I only considered its use with prime numbers to get the exponent of that prime in the integer's factorization (a sort of selective FactorInteger). So my solution used the function twice (on 2 and 5) when it didn't have to. Mark