Prime factorization for large numbers

Click For Summary

Discussion Overview

The discussion centers around the challenges of prime factorization for large numbers, particularly those with up to 200 decimal digits. Participants explore various methods and tools for factorization, including programming solutions and online resources.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant expresses difficulty in factorizing large numbers, specifically mentioning that Wolfram Alpha and Python programming have not been successful.
  • Another participant suggests that factorization of large numbers requires significant computational resources and time, referencing a Wikipedia article on integer factorization.
  • A participant clarifies that the numbers in question are simple, consisting of a base number followed by many zeros, and proposes that factorizing the base number could simplify the process.
  • There is a suggestion that eliminating zeros before factorization might be a viable approach, although the participant is uncertain about how to implement this.
  • One participant mentions that they successfully used Wolfram Alpha for a simpler version of the problem but acknowledges the limitations of entering large numbers with many zeros.
  • Another participant shares their experience of entering the non-zero part of the numbers into Wolfram Alpha and handling the zeros manually, indicating a resolution to their earlier problem.
  • A suggestion is made to contact Carl Pomerance for assistance with particularly challenging factorization tasks.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best method for factorizing large numbers, with various approaches and tools being discussed without a definitive resolution.

Contextual Notes

Some participants express limitations in using existing tools due to the size and format of the numbers, while others highlight the computational challenges involved in factorization.

aalireza
Messages
5
Reaction score
0
I need to factorize large numbers (some of them have about 200 decimal digits). Wolfram alpha is a dead end and programming with python is not working for me too. Any suggestions?
 
Mathematics news on Phys.org
Oops. Sorry! I did miss a REALLY important thing(!): they are really so simple/silly! They are full of zeros, for example one of them is 909091 with 150 zeros after it, so the only problem would be factorizing 909091 and that's not a big deal. so the answer of the given number will be 909091*2^150*5^150. There is a list of them (523 numbers) and they are between 100 and 200 digits and most of them are really simple to solve ... But my problem is that I don't want to factorize them myself.

+ I think If I eliminate zeros and then factorize it with current codes, it can be done. but It's a new thing for me and I don't know how to do it properly!
 
Factoring small numbers like that is really just a process of searching through the possible prime factors up to the square root of the number. You can write a code to do it or use existing codes. Why didn't Wolfram Alpha work for you? It did for me. The example you listed is prime. See this link:

http://www.wolframalpha.com/input/?i=factor[909091]
 
I did the damn thing, I just entered the non-zero part in Wolfram and factorize the rest of them myself.

---
@Bill Simpson & @phyzguy:
Of course, if you enter :
http://www.wolframalpha.com/input/?i=factor(987654320987654321*2^180*5^180

It will give you the answer, but The numbers weren't in this form and there is not enough room for all the zeros to be entered in Wolfram:
http://www.wolframalpha.com/input/?...000000000000000000000000000000000000000000000

, and second, there was 523 of them and That's why I said I want to eliminate all zeros and write a code for them... Because It was a nightmare to enter them one by one, I wanted to give the .ods to that program and get the answers as fast as possible... anyways, It's done now! :-)
 
if you ever have a real challenge to factor large numbers, write Carl Pomerance and ask him.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 26 ·
Replies
26
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
9K
  • · Replies 12 ·
Replies
12
Views
5K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K