mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2019-05-05, 20:09   #12
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

22×863 Posts
Default

Quote:
Originally Posted by lukerichards View Post
Probably factored meaning that the factors have passed PRP tests?
Probably fully factored means that the cofactor is a PRP not proven prime, so there is a slight chance/risk it is not prime.
ATH is offline   Reply With Quote
Old 2019-05-05, 22:09   #13
GP2
 
GP2's Avatar
 
Sep 2003

2×5×7×37 Posts
Default

Quote:
Originally Posted by lukerichards View Post
Probably factored meaning that the factors have passed PRP tests?
All of the factors of Mersenne numbers that we are capable of finding are small enough that they can be trivially be proven prime. It is only the cofactor, the part that remains after dividing by all known factors, that sometimes tests PRP.

In all the cases where an exponent of nontrivial size has been determined to be fully factored or probably fully factored, we have a pattern of N small factors and one humungous cofactor that passes a PRP test. The cofactor's bit length is usually 99%+ of the bit length of the Mersenne number itself.

Needless to say, the overwhelming majority of numbers do not have such an extremely asymmetric pattern for their factors, where a single factor is nearly the same size as the number itself and all other factors are relatively tiny. So findable PRPs become very rare indeed as the Mersenne exponents get larger.
GP2 is offline   Reply With Quote
Old 2019-05-06, 01:22   #14
Mysticial
 
Mysticial's Avatar
 
Sep 2016

22×5×19 Posts
Default

Quote:
Originally Posted by GP2 View Post
It's "factored" because at least one factor is known.

If we knew all the factors, then it would be "fully factored". Out of the tens of millions of Mersenne numbers we have tested, only 332 of them are fully factored (or strongly believed to be). This number slowly increases, since new factors are found all the time.

The largest exponent for which the Mersenne number is proven to be fully factored is 63,703. The largest exponent which is probably fully factored is 7,313,983.
Isn't the largest Mersenne number that's fully factored just M51? The factors are 1 and itself.
Mysticial is offline   Reply With Quote
Old 2019-05-06, 02:43   #15
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

2·13·131 Posts
Default

Quote:
Originally Posted by TheGuardian View Post
PS. May I ask how these huge numbers came to be factored? Surely most deterministic algorithms would take ages to complete.

For instance, the exponent 333333367 is listed as "Factored", yet only 2 factors are known. Clearly, then the Mersenne number M333333367 is *not* factored. What am I missing?
FYI, I didn't see it mentioned by anyone else, but the two known factors for that exponent are both relatively small.

https://www.mersenne.ca/exponent/333333367

The smaller would have been found by only trial factoring to 37 bits, and the second one by TF to 49 bits. Doing either of those tests are trivial and would have finished in (seconds? couple minutes)?

Being so easy to find, those 2 factors were discovered a long long time ago so we don't even have a record of who found them. That's the case for most small factors (anything under 60'ish bits. The only exception is for secondary/tertiary/etc. factors which we might have more details on. In many cases, when the first factor was found nobody bothered checking for more, but people started doing that more recently (last 10-15 years).

At any rate, you provide a good example, although an unfortunate one, of why it's always a good idea to do a good amount of factoring (TF and P-1) on a # before committing yourself to something that could take months (or years in some cases).

I'm actually just about done with a mini-project where I took a couple thousand assignments that didn't have any P-1 testing done on them at all. Most of them are 332M+ exponents, so they really should have done at least a basic P-1 check.

I was doing just the basic B1=B2=100,000 which doesn't take much time... maybe a couple hours tops on a run of the mill desktop computer.

Of the tests I've done, I've probably managed to find a factor in about 1 out of 120 or so tests (just guesstimating there, I wasn't really keeping track).

For the most part, these are assignments that were made several years ago and they never actually started, or didn't check in any progress. But I'd hate to think that someone was toiling away for years and years, and meanwhile there was a factor that would have taken them a couple hours to find.

In reality, before doing a 100 million digit test, you'd want to do a P-1 test to the recommended bounds, which are picked to give it as good a chance as possible at finding a factor, considering the time it will take to do a first and second LL test.

Of course nowadays we'd recommend doing a PRP test instead, using the highly-reliable Gerbicz error checking. Because you don't want to spend all that time doing an LL test that had an error along the way, requiring *two* more tests to confirm.
Madpoo is offline   Reply With Quote
Old 2019-05-06, 16:06   #16
TheGuardian
 
May 2019

1102 Posts
Default

Quote:
Originally Posted by kriesel View Post
Welcome to the hunt, TheGuardian. What gpu do you have? I hope you're running no earlier than the May 2017 version of CUDALucas.

"Factored" in the GIMPS context means, at least one known prime factor found, and confirmed, so the exponent is ruled out as a possible Mersenne prime, no need to
a) trial factor any further,
b) P-1 factor,
c) attempt LL primality test or PRP probable-prime test,
d) double check whichever of LL or PRP were done in c preceding.
Finding a factor is a welcome result, because it saves a lot of computing time.

"Factored" is quite different from and a lower standard than "fully factored".

To apply your gpu to needed work, and improve your chances of avoiding unneeded duplication of someone else's work, go to https://www.mersenne.org/manual_assignment/ or https://www.mersenne.org/manual_gpu_assignment/
To report the results, copy and paste into https://www.mersenne.org/manual_result/
You may find some of the content at https://www.mersenneforum.org/forumdisplay.php?f=154 useful background info.
New user guidance draft https://www.mersenneforum.org/showpo...3&postcount=11
Specific to the many techniques used to make trial factoring fast, see https://www.mersenneforum.org/showpo...23&postcount=6
Thank you very much for your helpful post.
TheGuardian is offline   Reply With Quote
Old 2019-05-06, 16:36   #17
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

24×3×163 Posts
Default

Quote:
Originally Posted by TheGuardian View Post
Thank you very much for your helpful post.
You're welcome. Any suggestions how to make the existing info easier to find? Where did or would you look for it? Your new participant perspective is useful.
kriesel is online now   Reply With Quote
Old 2019-05-06, 16:40   #18
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

5·937 Posts
Default

Code:
? Mod(2,91333342559)^333333367
Mod(1, 91333342559)
? ##
  ***   last result computed in 0 ms.
It pays to know that some trial factoring and P-1 factoring has been done, before embarking on a test (that takes a year) -- and a PRP test is preferable to an LL test.

Last fiddled with by paulunderwood on 2019-05-06 at 16:48
paulunderwood is offline   Reply With Quote
Old 2019-05-07, 15:41   #19
TheGuardian
 
May 2019

2×3 Posts
Default

I tried to submit my CUDALucas results.txt file on the mersenne.org website, but I get the error

"No CPU credit given for test of already factored"

What can I do?
TheGuardian is offline   Reply With Quote
Old 2019-05-07, 15:49   #20
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

24×3×163 Posts
Default

Quote:
Originally Posted by TheGuardian View Post
I tried to submit my CUDALucas results.txt file on the mersenne.org website, but I get the error

"No CPU credit given for test of already factored"

What can I do?
I think you're stuck. It's not giving credit for work that was not needed, because the number already had known factors. (I get you didn't know that at the time.)
If you want to rack up some computing credit fast on your gpu, get acquainted with the latest version of mfaktc, and run it on manual assignments. Assuming your gpu is somewhat like a GTX1060, it will produce about 15 times as much computing credit per day doing TF as doing LL or P-1. Tune it per directions in the mfaktc thread for maximum production rate.
kriesel is online now   Reply With Quote
Old 2019-05-07, 15:54   #21
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

24·3·163 Posts
Default

Quote:
Originally Posted by Madpoo View Post
In reality, before doing a 100 million digit test, you'd want to do a P-1 test to the recommended bounds, which are picked to give it as good a chance as possible at finding a factor, considering the time it will take to do a first and second LL test.

Of course nowadays we'd recommend doing a PRP test instead, using the highly-reliable Gerbicz error checking. Because you don't want to spend all that time doing an LL test that had an error along the way, requiring *two* more tests to confirm.
Good advice. Except there is no GIMPS software available for PRP on CUDA, or on NVIDIA's flavor of OpenCl, so no PRP on NVIDIA.

Last fiddled with by kriesel on 2019-05-07 at 15:55
kriesel is online now   Reply With Quote
Old 2019-05-07, 16:41   #22
TheGuardian
 
May 2019

2·3 Posts
Default

Quote:
Originally Posted by kriesel View Post
I think you're stuck. It's not giving credit for work that was not needed, because the number already had known factors. (I get you didn't know that at the time.)
If you want to rack up some computing credit fast on your gpu, get acquainted with the latest version of mfaktc, and run it on manual assignments. Assuming your gpu is somewhat like a GTX1060, it will produce about 15 times as much computing credit per day doing TF as doing LL or P-1. Tune it per directions in the mfaktc thread for maximum production rate.
Thank you, I will try that.
TheGuardian is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
http://www.mersenne.ca/exponent/72977 - 'That is a weird number' Syntony mersenne.ca 3 2017-01-27 18:53
Fermat number F6=18446744073709551617 is a composite number. Proof. literka Factoring 5 2012-01-30 12:28
Please help me find a composite number (test2) allasc Math 0 2010-12-27 13:37
How long before you found your first composite number? Bundu Data 3 2004-08-14 12:21
Mersenne composite using fibonacci TTn Math 5 2002-11-23 03:54

All times are UTC. The time now is 15:26.


Fri Jul 7 15:26:54 UTC 2023 up 323 days, 12:55, 0 users, load averages: 0.96, 1.09, 1.08

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.

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