[algogeeks] Re: factorial

2008-02-21 Thread [EMAIL PROTECTED]
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

[algogeeks] Re: factorial

2008-02-18 Thread Gene
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

[algogeeks] Re: factorial

2008-02-16 Thread Caio Dias
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

[algogeeks] Re: factorial

2008-02-13 Thread kunzmilan
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

[algogeeks] Re: factorial

2008-02-12 Thread Dave
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