My quantum professor, as an aside challenge, asked us if we could write a program in Matlab to factorize a 32 digit number into its prime number constituents. Can anyone direct me in the right direction to research how to do this?(adsbygoogle = window.adsbygoogle || []).push({});

thanks,

Greg

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Factorizing to prime numbers in Matlab

**Physics Forums | Science Articles, Homework Help, Discussion**