GNU/Linux Command – FACTOR

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

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: