Factoring large N into prime factors

Click For Summary
SUMMARY

The discussion centers on the challenge of factoring a large number N into its prime components p and q, specifically when N is expressed as N=pq. The user has successfully derived the value of (p-1)(q-1) but is seeking assistance in recovering the individual primes p and q. They describe a method involving sequences of powers of x modulo N to predict (p-1)(q-1) with high probability, and they are looking for the specific theorem related to this approach, which they believe is connected to Euler's work.

PREREQUISITES
  • Understanding of prime factorization and semiprimes
  • Familiarity with modular arithmetic and sequences
  • Knowledge of Euler's totient function
  • Basic concepts of number theory and divisibility
NEXT STEPS
  • Research Euler's totient function and its applications in number theory
  • Explore algorithms for factoring large semiprimes, such as the Quadratic Sieve
  • Study the Pollard rho algorithm for integer factorization
  • Investigate the mathematical properties of modular exponentiation
USEFUL FOR

This discussion is beneficial for mathematicians, cryptographers, and computer scientists focused on number theory, particularly those involved in cryptographic applications requiring prime factorization techniques.

bert2612
Messages
4
Reaction score
0
Hi, I am writing up a project based on an algorithm for factoring large numbers, I have reached seemingly simple point where I am stuck, I wonder if anyone can help me?

I am trying to factor a large N such that N=pq for unknown primes p and q, I have described a method to find a value for (p-1)(q-1) from N and now have the problem of recovering p and q.

So N is given and (p-1)(q-1) is given, how do I carry on? Thanks
 
Mathematics news on Phys.org
thanks, that's perfect.

The way in which i found (p-1)(q-1) is to take a set of sequences of powers of x mod N for x=1,2,...,N-1 and work out their periods, each period turns out to be a divisor of (p-1)(q-1), if a large enough number of divisors is taken, then the value of (p-1)(q-1) can be predicted with high probability. That's basically all I've got, if anyone knows the specific theorem I am exploiting here it would be greatly appreciated as I should include it in my work, I know it's Euler but I'm having trouble finding a specific name so I can reference it and perhaps find a proof.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 43 ·
2
Replies
43
Views
7K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 26 ·
Replies
26
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K