Skip to content

Instantly share code, notes, and snippets.

@halm
Created September 18, 2013 05:37
Show Gist options
  • Select an option

  • Save halm/6604977 to your computer and use it in GitHub Desktop.

Select an option

Save halm/6604977 to your computer and use it in GitHub Desktop.
Find prime factors of a number in Python.
import sympy
sympy.factorint(524288)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment