Re: Interesting question
- From: "Dana" <ddelouis@xxxxxxxxxxxxx>
- Date: Mon, 24 Dec 2007 09:18:49 -0500
Question Write a program that can compute the last non-zero digit of
any factorial for ( 0 <= N <= 10000).
Some references here:
http://www.research.att.com/~njas/sequences/A008904
--
HTH
Dana
"John" <iamachamp@xxxxxxxxx> wrote in message
news:38b1af62-f2b3-41bc-a03c-26e77b1d3bc2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Question Write a program that can compute the last non-zero digit of
any factorial for ( 0 <= N <= 10000). For example, if your program is
asked to compute the last nonzero digit of 5!, your program should
produce 2.
Now give a generalized method to find the last X non-zero digits of N
factorial
.
- References:
- Interesting question
- From: John
- Interesting question
- Prev by Date: Re: Ho can one find the Galois group of a solvable degree 6 polynomial with complex coefficients?
- Next by Date: Re: Interesting question
- Previous by thread: Re: Interesting question
- Next by thread: Re: Interesting question
- Index(es):