thanks for ur reply's..i understood them..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com
To unsubscribe from this group, send
On Feb 12, 10:11 pm, Dave <[EMAIL PROTECTED]> wrote:
> On Feb 12, 8:17 pm, "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]> wrote:
> > how will u find the "number of digits in the factorial of a number"
> > without finding the factorial??- Hide quoted text -
>
> Sum log 1 + log 2 + log 3 + ... + log n, w
Hi,
On Feb 13, 2008 1:11 AM, Dave <[EMAIL PROTECTED]> wrote:
>
> Sum log 1 + log 2 + log 3 + ... + log n, where log represents the
> base-10 logarithm function. The ceiling of the sum gives the number of
> digits.
>
> Dave
Yeh, that work fine. Only to explain a bit more to Hariharan:
**let N yo
On 13 Ún, 03:17, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> how will u find the "number of digits in the factorial of a number"
> without finding the factorial??
> Try Stirling formula. Rougly nlogn.
kunzmilan
--~--~-~--~~~---~--~~
You received this message
Sum log 1 + log 2 + log 3 + ... + log n, where log represents the
base-10 logarithm function. The ceiling of the sum gives the number of
digits.
Dave
On Feb 12, 8:17 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> how will u find the "number of digits in the factorial of a number"
> without