Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #13604
| From | "Ed" <invalid@nospam.com> |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: Reverse factorial |
| Date | 2012-07-05 23:14 +1000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <jt43vb$ag7$1@speranza.aioe.org> (permalink) |
| References | <7xhato3a0v.fsf@ruckus.brouhaha.com> <57661300968435@frunobulax.edu> |
Marcel Hendrix wrote:
> Paul Rubin <no.email@nospam.invalid> writes Re: Reverse factorial
>
> > mhx@iae.nl (Marcel Hendrix) writes:
> >> It is beyond my semantic capabability to understand what "Smallest
> >> number with a factorial of at least 10^x digits" means exactly.
>
> > n = minimum { k | length(decimal representation of k!) >= 10^x }
>
> > For d>0, the length of the decimal representation of d is
> > 1 + floor(log10 d).
>
> Thanks!
>
> FORTH> runs
> Smallest number with a factorial of at least 10^00 digits is 0.0000000000000000000e+0000 \
> 0.000 seconds elapsed.
> Smallest number with a factorial of at least 10^01 digits is 1.3000000000000000000e+0001 \
> 0.000 seconds elapsed.
> Smallest number with a factorial of at least 10^02 digits is 7.0000000000000000000e+0001 \
> 0.001 seconds elapsed.
> Smallest number with a factorial of at least 10^03 digits is 4.5000000000000000000e+0002 \
> 0.000 seconds elapsed.
> Smallest number with a factorial of at least 10^04 digits is 3.2490000000000000000e+0003 \
> 0.001 seconds elapsed.
> Smallest number with a factorial of at least 10^05 digits is 2.5206000000000000000e+0004 \
> 0.000 seconds elapsed.
> Smallest number with a factorial of at least 10^06 digits is 2.0502200000000000000e+0005 \
> 0.000 seconds elapsed.
> ...
What program generated these? Was the result for 10^00 calculated
or plugged-in?
Back to comp.lang.forth | Previous | Next — Previous in thread | Find similar | Unroll thread
Reverse factorial "Ed" <invalid@nospam.com> - 2012-06-29 11:51 +1000
Re: Reverse factorial mhx@iae.nl (Marcel Hendrix) - 2012-06-30 02:05 +0200
Re: Reverse factorial "Ed" <invalid@nospam.com> - 2012-06-30 12:26 +1000
Re: Reverse factorial "Ed" <invalid@nospam.com> - 2012-07-01 23:17 +1000
Re: Reverse factorial mhx@iae.nl (Marcel Hendrix) - 2012-07-01 16:51 +0200
Re: Reverse factorial "Ed" <invalid@nospam.com> - 2012-07-02 05:40 +1000
Re: Reverse factorial Paul Rubin <no.email@nospam.invalid> - 2012-07-02 22:08 -0700
Re: Reverse factorial "Ed" <invalid@nospam.com> - 2012-07-03 17:02 +1000
Re: Reverse factorial mhx@iae.nl (Marcel Hendrix) - 2012-07-03 21:14 +0200
Re: Reverse factorial Paul Rubin <no.email@nospam.invalid> - 2012-07-03 12:44 -0700
Re: Reverse factorial mhx@iae.nl (Marcel Hendrix) - 2012-07-03 22:37 +0200
Re: Reverse factorial "Ed" <invalid@nospam.com> - 2012-07-05 23:14 +1000
csiph-web