POV-Ray : Newsgroups : povray.off-topic : Some math problems : Re: Some math problems Server Time
5 Sep 2024 09:22:35 EDT (-0400)
  Re: Some math problems  
From: Warp
Date: 23 Sep 2009 15:02:22
Message: <4aba70be@news.povray.org>
andrel <a_l### [at] hotmailcom> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.