mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Miscellaneous Math

Reply
 
Thread Tools
Old 2011-02-26, 01:21   #34
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
San Diego, Calif.

32·7·163 Posts
Default

Quote:
Originally Posted by mart_r View Post
See, some years ago I found a formula that seemed to produce ever new primes:
f(n)=41+n*(n-1)
f(1)=41 is prime
f(2)=43 is prime
f(3)=47 is prime
f(4)=53 is prime
...
f(40)=1601 is prime
I thought Euler found it, too.
Batalov is offline   Reply With Quote
Old 2011-02-26, 01:25   #35
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dartmouth NS

8,461 Posts
Default

Quote:
Originally Posted by Batalov View Post
I thought Euler found it, too.
that and number freak has a different f(40) of 1681, if I read it correctly.
science_man_88 is offline   Reply With Quote
Old 2011-02-26, 01:35   #36
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

22·863 Posts
Default

Unless there is big breakthrough in algorithm or in quantum computing, I doubt MM127 will "ever" be proven prime, or at least within several hundreds of years.

But it's hard to predict the future, and actually I'd like to be proven wrong.

Last fiddled with by ATH on 2011-02-26 at 01:35
ATH is offline   Reply With Quote
Old 2011-02-26, 01:39   #37
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

22·3·499 Posts
Default

Quote:
Originally Posted by Uncwilly View Post
Doing some rough calculations, here is what I came up with and put in Mersennewiki.org

Quote:
It would take about 4,700,000,000,000,000,000,000,000,000,000,000 GHz-days to run the Lucas-Lehmer test on that number. Having the top 250 supercomputers working together at full power on this, it would take 161,600,000 times as long as the universe has existed.
I'm willing to take 161 million times the age of the Universe to find out, and dedicating the top 250 supercomputers to it isn't a problem. But can we actually run the task in parallel? A trillion times the age of the Universe is right out.
CRGreathouse is offline   Reply With Quote
Old 2011-02-26, 02:22   #38
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

1175610 Posts
Default

Quote:
Originally Posted by ATH View Post
Unless there is big breakthrough in algorithm or in quantum computing, I doubt MM127 will "ever" be proven prime, or at least within several hundreds of years.
There was a thread along these lines a few years ago...I argued there that based on some plausible "maximum information storage density" heuristics (a kind of quantum-informatic "how many qubits can dance on the head of a pin" deal) the smallest volume of particles needed to simply store M127 bits leads to a sufficiently large minimum per-iteration time for the LL test that it would take far longer than the current lifetime of our universe to complete such a test.

So the only way to resolve the issue seems to be to find an explicit factor.

Quote:
But it's hard to predict the future, and actually I'd like to be proven wrong.
"It's hard to make predictions, especially about the future." -- Yogi Berra
ewmayer is offline   Reply With Quote
Old 2011-02-26, 04:46   #39
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

22·3·499 Posts
Default

Quote:
Originally Posted by ewmayer View Post
So the only way to resolve the issue seems to be to find an explicit factor.
Or find a better algorithm than LL -- not likely, but then neither is finding an explicit factor (< 50% chance to find one with k under 200 bits).

Do we even have a nontrivial lower bound on the time needed for a primality test? AFAIK all we know is that it must take at least linear time in the worst case...

Last fiddled with by CRGreathouse on 2011-02-26 at 04:50
CRGreathouse is offline   Reply With Quote
Old 2011-02-26, 04:53   #40
Lee Yiyuan
 
Feb 2011
Singapore

5·7 Posts
Default

Quote:
Originally Posted by CRGreathouse View Post
Or find a better algorithm than LL -- not likely, but then neither is finding an explicit factor (< 50% chance to find one with k under 200 bits).

Do we even have a nontrivial lower bound on the time needed for a primality test? AFAIK all we know is that it must take at least linear time in the worst case...

Or prove that the generating function for Catalan-Mersenne numbers will always produce primes.
Lee Yiyuan is offline   Reply With Quote
Old 2011-02-26, 05:43   #41
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

22·3·499 Posts
Default

Quote:
Originally Posted by Lee Yiyuan View Post
Or prove that the generating function for Catalan-Mersenne numbers will always produce primes.
Highly unlikely.
CRGreathouse is offline   Reply With Quote
Old 2011-02-26, 08:51   #42
10metreh
 
10metreh's Avatar
 
Nov 2008

2×33×43 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
that and number freak has a different f(40) of 1681, if I read it correctly.
Think before you question. Look more closely at the formulae for the sequences.
10metreh is offline   Reply With Quote
Old 2011-02-26, 12:15   #43
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dartmouth NS

8,461 Posts
Default

Quote:
Originally Posted by 10metreh View Post
Think before you question. Look more closely at the formulae for the sequences.
according to number freak the formula is f(x)=x^2+x+41 so f(40)= 40^2+40+41 = 1600 + 81 = 1681.

Last fiddled with by science_man_88 on 2011-02-26 at 12:15
science_man_88 is offline   Reply With Quote
Old 2011-02-26, 12:28   #44
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dartmouth NS

100001000011012 Posts
Default

things I've PM'd that that are supposedly useless for speeding up LL.

Quote:
Originally Posted by science_man_88
the numbers the lucas lehmer test uses starting at 4 can be expressed as a addition and subtraction of powers of 2 is there a way anyone could use this to help speed it up ? I'm guessing this has already been picked up on if it's true ? anyways I'm sorry if I bothered you.
Quote:
Originally Posted by science_man_88
I've recently realized that all members of A003010 after 4 have a sumdigits(x)==5 could this be used to precheck if LL is worth doing because if we allow 9 and 0 to be the same we can use numbers under n in each step and check if the last result is 9 if so then we can check if the full result is a 0, but if it's not 9 or 0 ( remember both used the same) then we don't have to bother it can't be a 0 result and we don't have to do full on LL however unless we can tell when it transfers from the sequence to it's own sequence ( in other words the members of the original sequence is greater than 2^p-1) this may still need numbers that big. okay maybe not a great idea.
this is for the most part what's important to show my ideas I was also thinking if p doesn't work try a possible factor and it may speed it up from 2^p-1, though it appears to loop at last check.
science_man_88 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sophie-Germain primes as Mersenne exponents ProximaCentauri Miscellaneous Math 15 2014-12-25 14:26
compendium of formulas related with primes ? skan Miscellaneous Math 6 2012-12-14 12:56
recurrent formulas to obtain primes Unregistered Information & Answers 2 2011-01-14 17:19
Mersenne Wiki: Improving the mersenne primes web site by FOSS methods optim PrimeNet 13 2004-07-09 13:51
Smooth polynomial formulas to produce all primes Cyclamen Persicum Math 10 2003-03-29 07:08

All times are UTC. The time now is 04:19.


Fri Jul 7 04:19:01 UTC 2023 up 323 days, 1:47, 0 users, load averages: 2.00, 1.83, 1.58

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔