🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.misc
Article #59

Re: Tough FACTORIAL math problem...

#59
From: Dik T. Winter
Date: Fri, 16 Feb 1996 23:55
35 lines
2098 bytes
In article <DMvKp5.2wL@undergrad.math.uwaterloo.ca> clgonsal@undergrad.math.uwaterloo.ca (Carl Laurence Gonsalves) writes:
[snipped]

This is getting silly.  For a correct routine see my article with
message-id <DMtsB9.BBz@cwi.nl>, posted Feb 15.

If you wish to try, below follows a table with the last non-zero digits of
all factorials upto (and including) 1000!.  Check your output with this
table.

dik
--
12642242888682886824484644846886822242822428662642
24284484666264662648868244846886822242822428662644
48468868222428224286626488682662644484644846224282
24284484666264662648868266264224288868288682448462
24284484666264662648868222428448466626466264886828
86826626444846448462242822428448466626466264886826
62642242888682886824484622428448466626466264886822
24284484666264662648868222428448466626466264886828
86826626444846448462242844846886822242822428662648
86826626444846448462242888682662644484644846224284
48468868222428224286626466264224288868288682448468
86826626444846448462242866264224288868288682448466
62642242888682886824484666264224288868288682448464
48468868222428224286626422428448466626466264886824
48468868222428224286626444846886822242822428662648
86826626444846448462242822428448466626466264886826
62642242888682886824484622428448466626466264886822
24284484666264662648868288682662644484644846224282
24284484666264662648868266264224288868288682448462
24284484666264662648868222428448466626466264886822
-- 
dik t. winter, cwi, kruislaan 413, 1098 sj  amsterdam, nederland, +31205924098
home: bovenover 215, 1025 jn  amsterdam, nederland; http://www.cwi.nl/~dik/
Technical Details
Message-ID: <DMw7sC.Czw@cwi.nl>
Path: arc1-ca.pugleaf.net!cwi.nl!dik
References: <31224679.6193@born.com> <4g00u6$gkk@sun001.spd.dsccc.com> <DMvKp5.2wL@undergrad.math.uwaterloo.ca>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.pascal.misc,comp.lang.c++,comp.lang.c,comp.lang.pascal.borland
Path: arc1-ca.pugleaf.net!cwi.nl!dik
From: dik@cwi.nl (Dik T. Winter)
Subject: Re: Tough FACTORIAL math problem...
Message-ID: <DMw7sC.Czw@cwi.nl>
Sender: news@cwi.nl (The Daily Dross)
Nntp-Posting-Host: chrysant.cwi.nl
Organization: CWI, Amsterdam
References: <31224679.6193@born.com> <4g00u6$gkk@sun001.spd.dsccc.com> <DMvKp5.2wL@undergrad.math.uwaterloo.ca>
Date: Fri, 16 Feb 1996 23:55:24 GMT