POV-Ray : Newsgroups : povray.off-topic : Some math problems : Re: Some math problems Server Time
5 Sep 2024 03:20:24 EDT (-0400)
  Re: Some math problems  
From: Neeum Zawan
Date: 22 Sep 2009 16:11:38
Message: <4ab92f7a$1@news.povray.org>
On 09/22/09 12:10, Warp wrote:
>    4) By their nature, factorials tend to accumulate trailing zeroes. For
> example, 5! (120) has one trailing zero, 10! (3628800) has two trailing
> zeroes, 25! (15511210043330985984000000) has six trailing zeroes, etc.
>
>    Give a (non-recursive) mathematical function which, for an integer n,
> gives the number of trailing zeroes in n!.

	For a tougher problem, estimate the number of digits in n!

	(Well, easy if you know one certain piece of information...).

-- 
I think animal testing is a terrible idea. They get all nervous and give 
the wrong answers.


Post a reply to this message

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