wu :: forums
« wu :: forums - Zeroes of n! »

Welcome, Guest. Please Login or Register.
Nov 28th, 2024, 10:15am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   medium
(Moderators: ThudnBlunder, towr, Icarus, SMQ, william wu, Grimbal, Eigenray)
   Zeroes of n!
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Zeroes of n!  (Read 1074 times)
ThudnBlunder
wu::riddles Moderator
Uberpuzzler
*****




The dewdrop slides into the shining Sea

   


Gender: male
Posts: 4489
Zeroes of n!  
« on: Aug 27th, 2010, 8:26am »
Quote Quote Modify Modify

Nay, not with how many naughts doth n! endeth.
 
Rather, as n what fraction of the digits of n! are these end zeroes?  
« Last Edit: Nov 30th, 2010, 6:19am by ThudnBlunder » IP Logged

THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Zeroes of n!  
« Reply #1 on: Aug 27th, 2010, 2:24pm »
Quote Quote Modify Modify

There are about n/4 zeroes,  
n! is about sqrt((2n+1/3)pi) nn e-n
So, divide the two and take the limit and you're left with nothing.
 
Another way to put it, the number of trailing zeroes grow linearly, the number of digits grows exponentially, hence the fraction of trailing zeroes goes to zero.
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
ThudnBlunder
wu::riddles Moderator
Uberpuzzler
*****




The dewdrop slides into the shining Sea

   


Gender: male
Posts: 4489
Re: Zeroes of n!  
« Reply #2 on: Aug 27th, 2010, 4:13pm »
Quote Quote Modify Modify

on Aug 27th, 2010, 2:24pm, towr wrote:

n! is about sqrt((2n+1/3)pi) nn e-n
So, divide the two...
 
No harm in taking logs first...
IP Logged

THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
ThudnBlunder
wu::riddles Moderator
Uberpuzzler
*****




The dewdrop slides into the shining Sea

   


Gender: male
Posts: 4489
Re: Zeroes of n!  
« Reply #3 on: Aug 29th, 2010, 1:20pm »
Quote Quote Modify Modify

on Aug 27th, 2010, 2:24pm, towr wrote:

...the number of digits grows exponentially....

NOT...
 
IP Logged

THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Zeroes of n!  
« Reply #4 on: Aug 29th, 2010, 1:38pm »
Quote Quote Modify Modify

In order of the size of the input they do.
 
 
[edit]Well, okay, it doesn't really help to use different measures in both terms..
 
So, rather let's just take Stirling's approximation, and go with [n/4] / [n ln(n)-n] -> 0 as n -> inf.
« Last Edit: Aug 29th, 2010, 1:46pm by towr » IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board