![]() |
|
|
#34 | |
|
Aug 2002
Buenos Aires, Argentina
2·683 Posts |
Quote:
|
|
|
|
|
|
#35 |
|
"Forget I exist"
Jul 2009
Dumbassville
203008 Posts |
Too late, but it's not really the newest idea. Or the fastest.edit never mind that pm was a test of my programming skills.
Last fiddled with by science_man_88 on 2015-10-24 at 19:46 |
|
|
|
|
#36 | |
|
"Curtis"
Feb 2005
Riverside, CA
4,861 Posts |
Quote:
My educated guess is that your method would take longer than our lifetime to calculate an actual 1 million digit prime. Your claims so far amount to "I have a formula, but I don't know how complicated it is for big numbers. Computers are fast, so I just need a programmer to make my formula on a computer, and it'll turn out primes fast. Easy!" |
|
|
|
|
|
#37 |
|
"Rashid Naimi"
Oct 2015
Remote to Here/There
40078 Posts |
|
|
|
|
|
#38 | |
|
Aug 2002
Buenos Aires, Argentina
2·683 Posts |
Quote:
|
|
|
|
|
|
#39 | |
|
"Rashid Naimi"
Oct 2015
Remote to Here/There
3×5×137 Posts |
Hi,
Since someone let the cat out of the bag (with good intentions no doubt) I might as well let it out properly and 1st hand. However, the following statement is likely to be overlooked by a few members and in order of not having to repeat myself, please forgive the text format: The following is not what I had in mind when I decided to tackle the one-billion+ prime challenge. That theorem and its associated approach is still safe and will only be disclosed to a party with the right computing credentials which would be willing to assist me in this endeavor. Anyone who is not pleased with that then, though. One more note: This is a first draft of the proof and I have not proofread it. So should you find an i not dotted or a t not crossed, then good for you. A real mathematician would not need a proof and would instantly see that the statement is true (I know there are a few of them around). Theorem 1: For the set A of n consecutive prime numbers staring from 2 and ending at Pn. Let: B⊂A & C=A-B Let the number b be equal to multiples of any-integer-power greater-than 0 of all-the-elements of B. Let the number c be equal to multiples of any-integer-power greater-than 0 of all-the-elements of C. Then d = |±b±c| is a prime number, ∀d: d < Pn2 Proof: d is not divisible by any elements of A, because (I) if there are any a such that: a ∈ A & (a ∈ B ⊕a ∈ B) &a∣d ⇒ ( d/a = m & m ∈ ℤ) Then d/a = m ⇒ |±b±c|/a = m ⇒ |b|/a ± |c|/a = m (ii) ∵ (a ∈ B ⊕a ∈ C) ∴ (|b|/ a ∈ ℤ⊕ |c|/ a ∈ ℤ ) Since |b|/a ± |c|/a is an integer and either |b|/a or |c|/a is an integer, then the other has to be an integer since the sum of an integer number with a non integer number cannot be an integer. This conflicts with statement (ii) which states that either |b|/a or |c|/a is an integer exclusively. Thus statement (i) is false. Since d < Pn2 and d is not divisible by any prime number less than or equal to Pn , then d is a prime number. ∎ The following is the routine that I have forwarded to the 2 people who have offered to assist me. Quote:
https://www.physicsforums.com/thread...ormula.838617/ Thank you to all for your time and replies. Last fiddled with by a1call on 2015-10-26 at 00:29 |
|
|
|
|
|
#40 |
|
Aug 2002
Buenos Aires, Argentina
101010101102 Posts |
Although the method generates primes as expected, the minuend and subtrahend are almost as big as in the previous version. For more interesting ranges, you should subtract extremely huge numbers and the timing would be worse than trial division.
You could use modular arithmetic in order to speed up your algorithm, but again this will be worse than trial division. Why? The union of the sets A and B must include all prime numbers below n. So you need to perform about n/log(n) multiplications mod prime greater than n2. So the number of steps is the same as the worst case of trial division. Notice also that to find a prime p<n2 first you will need to compute a prime larger than n2 in order to use it as the modulus. So again this is not useful at all. |
|
|
|
|
#41 |
|
"Kieren"
Jul 2011
In My Own Galaxy!
2×3×1,693 Posts |
Is this Phase
Last fiddled with by kladner on 2015-10-26 at 01:01 |
|
|
|
|
#42 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
so that wasn't just a test of my programming skills ? edit: is that better Batalov.
Last fiddled with by science_man_88 on 2015-10-26 at 01:26 |
|
|
|
|
#43 | |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36×13 Posts |
Quote:
Good luck with that. This universe is not equipped to store all primes up to 101000, is it? |
|
|
|
|
|
#44 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36·13 Posts |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is CEMPLLA 1.5 "the only software in the world capable of discovering" something? Not really. | CRGreathouse | Number Theory Discussion Group | 51 | 2018-12-16 21:55 |
| Aouessare-El Haddouchi-Essaaidi "test": "if Mp has no factor, it is prime!" | wildrabbitt | Miscellaneous Math | 11 | 2015-03-06 08:17 |
| "Subproject" #10: 200k-300k to 110 digits | RobertS | Aliquot Sequences | 9 | 2011-05-07 15:30 |
| Would Minimizing "iterations between results file" may reveal "is not prime" earlier? | nitai1999 | Software | 7 | 2004-08-26 18:12 |
| Search for a number theoretic function related to "prime divisor sums" | juergen | Math | 2 | 2004-07-10 23:01 |