One Day One GNU/Linux Command
=============================

factor -- Print prime factors

Summary:

Print the prime factors of each number. The algorithm, it uses, is not
very sophisticated. So, for some inputs `factor' runs for a long time.

Example:

$ factor 25 -- Print prime factors

$ factor 125 200 -- Print prime factors for each number.

$ factor `echo '2^64-1'|bc` -- Factors the largest 64-bit number.

$ factor `echo '4294967279 * 4294967291'|bc` -- Factors the largest
                 32-bit prime numbers. (Warning: It take more time)

Read: man factor

HTH :)
--
Bharathi S

_______________________________________________
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to