MehrajShakil's blog

By MehrajShakil, history, 3 months ago, In English,

How can I solve 20 digit number factorization ? Problem link Can anyone explain,please?

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

»
3 months ago, # |
Rev. 2   Vote: I like it +1 Vote: I do not like it

first notice than u can use long long becouse 20 digit is < 1e19. than u need to use some fast method of factorization .U can read about some method there https://en.wikipedia.org/wiki/Integer_factorization i think dixon's factorization method will be enough https://en.wikipedia.org/wiki/Dixon%27s_factorization_method

»
4 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

First you have to learn-Pollard's rho algorithm..then try it!