andrel <a_l### [at] hotmail com> wrote:
> >> 8 is less than 24
> >
> > So? How does that answer the question?
> that is obvious, I would think.
Care to explain? It's not obvious to me.
> Ok I read that wrong. Can you give an algorithm for 'and so on'?
"I said it's <n> of <n*2-1>" with consecutive values of n.
> No it has 2 both 10 and 5 have a factor of 5. So if you want your
> algorithm:
> sum_k floor(x/(5^k)) over all k from 1 till 5^k<=x
But I want a closed-form function, not a recursive function or summation.
--
- Warp
Post a reply to this message
|