On Unix, Plan 9, and Unix-like computer systems, factor is a utility for factoring an integer into its prime factors.