Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 242 Bytes

File metadata and controls

7 lines (4 loc) · 242 Bytes

integer-factorization

main.py reads numbers line-by-line from stdin and prints prime factors.

Example usage, to generate ten random 25-digit numbers and then factorize them.

echo "25 10" | python .\n-digits.py | python .\main.py