Re: prime numbers and African artifact
Dave Brown (dbrown@armf18.dow.on.doe.ca)
Thu, 13 Jul 1995 19:15:24 GMT
In article <3tukas$28m2@bubba.ucc.okstate.edu>,
David Ullrich <ullrich@math.okstate.edu> wrote:
: What's the easy way to show that 254365465431652436514232 is not
: prime again?
You use the Unix 'factor' command. If factor can divide it up into
lots of prime factors, then it's not prime. Let's try it and see:
READY.
factor
254365465431652436514232
Ouch!
READY.
Ah, factor couldn't divide it. Therefore 254365465431652436514232 is
prime.
Hope this helps!
--Dave
--
[15] http://armf18.dow.on.doe.ca:6700/~dbrown/ Dave Brown, rogue news admin
"I've been reading those C++ books and my horror grows with each page."
--Chris Reuter
|