Large Twin Primes: Find & Submit 100 Digit Primes

  • Thread starter Zurtex
  • Start date
  • Tags
    Primes
In summary, the conversation discusses the discovery of a 100 digit twin prime and the question of whether it is worth submitting it somewhere. The participants also discuss the rarity of twin primes at this size and the potential implications for RSA encryption. The conversation ends with a clarification of what twin primes are.
  • #1
Zurtex
Science Advisor
Homework Helper
1,120
1
Hi hi, I've been messing about with primes for the last couple of weeks now to try and generate very strong primes for my RSA project. I've made an algorithm which generates a 100 digit prime within about 3 seconds. For my own amusement I thought I'd add a little check to see if any prime I found was also a twin prime. Well I've now successfully found a 100 digit twin prime, I'm wondering is there anywhere I can submit this and would it be worth it? Surely not all 100 digit twin primes have been found.
 
Mathematics news on Phys.org
  • #2
How can one have *a* twin prime?

Anyway, don't know how complete lists of twin primes are, but Wolfram has a link to a table of known twin primes of more than 2000 digits, so 100 doesn't seem very big in this context. The links through wolfram's twin prime page might be worth you investigating if you want to check.
 
  • #3
:rolleyes: Give me a break, I had just got up and was tired, sorry for the grammatical mistake.

I realize that in context to 'the largest twin primes ever found' that as a freshman playing around in MATLAB for 20 minutes on an old computer I'm not going to be able to come close to them. However I thought there may like be some list of all twin primes found so far and the chances of finding twin primes in 100 digit region mustn’t be particularly high.
 
  • #4
There may well be only few twin prime pairs with 100 digits known - I didn't exhaustively follow all the links - I figured, if you were interested, you'd do that. There was a list of thet first 100,000 twin pairs (and I don't think they got anywhere near 100 digits) on one site.. and some gzip'ed files with lots of numbers in them. Sadly I didn't see a twin prime checking machine. (Aren't twin primes bad for RSA? A naive division algorithm might start at the square root of the number to be factored and hit the answer in two steps or so - I just remember a question like that appearing on a computer project once - explain why primes close together are not as good as primes far apart in RSA. Of course this was something I read once 4 years ago and I could be misremembering).
 
  • #5
They won't be too rare at that height. Hardy and Littlewood conjectured that the number of twin primes less than x to be about 1.32*x/log(x)^2. (The 1.32... is approximate, the constant is really a certain product over primes). You're basically a log(x) factor off from the number of primes. At 10^100 this is only 230.2..., so every 1.32...*230.2... primes or so you find, you'd expect p+2 to be prime once. Your old computer should be able to spit one out every 15~20 minutes or so, I guess half that time if you check p-2 as well. For fun you could run your program over a week finding primes and twin primes and see how close your actual data reflects the conjectured density.

I'm sure there's no list of twin primes in the 10^100 range, but generating them is not too difficult, so any particular one isn't that interesting. Same reason any given 100 digit prime isn't too exciting.
 
  • #6
Thanks :smile:

I realize twin primes aren't good for RSA and as a standard where p and q are my primes and p<q then I generally makes sure that q is not within the interval p to 2p. As well as various other rules I’ve come up with that should make it difficult to find p and q given pq from the level of thinking of most people in my class.
 
  • #7
Mmm... :uhh: can i pop-up and ask absic Q here:

What is "twin prime"? :biggrin:
 
  • #8
Two primes are twins if they differ by 2.

Some examples of twin primes are:

3, 5
5, 7
11, 13
17, 19
 

1. What are twin primes?

Twin primes are a pair of prime numbers that have a difference of 2 between them. For example, 41 and 43 are twin primes.

2. How large are the twin primes being searched for?

The goal is to find and submit twin primes that are 100 digits long. This means they will have approximately 100 digits when written out in base 10.

3. Why is it important to find large twin primes?

Large twin primes are important in the field of number theory as they can lead to the discovery of new mathematical patterns and relationships. They also have practical applications in cryptography and computer science.

4. How are these large twin primes being found?

These large twin primes are being found using advanced algorithms and computer programs that are designed specifically for searching for prime numbers. These programs are constantly running and checking for new potential twin primes.

5. Can anyone submit a large twin prime they have found?

Yes, anyone can submit a large twin prime they have found. However, it will need to be verified by a team of mathematicians and checked against existing databases of known primes before it is officially recognized as a new prime.

Similar threads

  • Programming and Computer Science
Replies
14
Views
2K
  • General Math
Replies
7
Views
3K
  • General Discussion
Replies
4
Views
2K
  • Linear and Abstract Algebra
Replies
11
Views
2K
  • Programming and Computer Science
Replies
2
Views
2K
  • STEM Educators and Teaching
2
Replies
40
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
3K
  • Calculus and Beyond Homework Help
Replies
1
Views
997
  • Linear and Abstract Algebra
Replies
20
Views
6K
  • Mechanical Engineering
Replies
6
Views
4K
Back
Top