Author |
Topic: Zeroes of n! (Read 1074 times) |
|
ThudnBlunder
wu::riddles Moderator Uberpuzzler
The dewdrop slides into the shining Sea
Gender:
Posts: 4489
|
|
Zeroes of n!
« on: Aug 27th, 2010, 8:26am » |
Quote 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:
Posts: 13730
|
|
Re: Zeroes of n!
« Reply #1 on: Aug 27th, 2010, 2:24pm » |
Quote 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:
Posts: 4489
|
|
Re: Zeroes of n!
« Reply #2 on: Aug 27th, 2010, 4:13pm » |
Quote 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:
Posts: 4489
|
|
Re: Zeroes of n!
« Reply #3 on: Aug 29th, 2010, 1:20pm » |
Quote 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:
Posts: 13730
|
|
Re: Zeroes of n!
« Reply #4 on: Aug 29th, 2010, 1:38pm » |
Quote 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
|
|
|
|