Factorizing to prime numbers in Matlab

Click For Summary
SUMMARY

The discussion centers on the challenge of factorizing a 32-digit number into its prime constituents using Matlab. Greg Pollard suggests using the rho algorithm, noting its simplicity, but questions its efficiency for such large numbers. The SQUFOF algorithm is also mentioned as a potentially faster alternative. Overall, the conversation highlights the difficulty of implementing efficient factorization methods for large integers in an educational context.

PREREQUISITES
  • Understanding of prime factorization algorithms
  • Familiarity with Matlab programming
  • Knowledge of Pollard's rho algorithm
  • Awareness of the SQUFOF algorithm
NEXT STEPS
  • Research the implementation of Pollard's rho algorithm in Matlab
  • Explore the SQUFOF algorithm and its applications in number theory
  • Study optimization techniques for large number factorization
  • Investigate other factorization methods suitable for educational purposes
USEFUL FOR

Matlab programmers, students in quantum computing or number theory, and anyone interested in efficient algorithms for prime factorization of large integers.

audreyh
Messages
11
Reaction score
0
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?

thanks,
Greg
 
Physics news on Phys.org
Pollard's rho algorithm is easy to program, but I'm not sure if it's fast enough to handle numbers in that range. SQUFOF is decently fast, I think, and may be programmable as well. Most methods for large numbers are a little too hard to learn and write for a class assignment (IMO).
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
5K
Replies
9
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
14
Views
3K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 8 ·
Replies
8
Views
3K