[Ilugc] One Day One Command (FACTOR)

  • From: sbharathi@xxxxxxxxxxxxx (Bharathi Subramanian)
  • Date: Tue May 31 10:34:15 2005

Mr Gauravp Sharmad has developed GLibMS (GNU Library Management
System), a Library management software developed using PHP and
PostgreSQL to automate the library activities. 
URL http://sourceforge.net/projects/glibs  ;(Thanks FSUG-Bglr)

One Day One 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

Bye :)
--
Bharathi S
ODOC -- http://www.livejournal.com/community/ilugc/

Other related posts:

  • » [Ilugc] One Day One Command (FACTOR) - Bharathi Subramanian