mersenneforum.org  

Go Back   mersenneforum.org > New To GIMPS? Start Here! > Information & Answers

Reply
 
Thread Tools
Old 2014-05-12, 17:42   #12
R.D. Silverman
 
R.D. Silverman's Avatar
 
"Bob Silverman"
Nov 2003
North of Boston

5×17×89 Posts
Default

Quote:
Originally Posted by retina View Post
Yes, perhaps. Often people post to several boards at the same time. They get belittled on one board, ignored on a second board, and nanny coddled on a third. It doesn't take a genius to guess which board they direct their attention to.
Yep.

But I saw none of that here. The OP received honest, reasonable replies.
R.D. Silverman is offline   Reply With Quote
Old 2014-10-07, 02:25   #13
jonno
 
Oct 2014

2 Posts
Default

I did try this program. Got the basic idea then the computer died. Good stress test. Lol.

OP said he had a specific number. Second person said put it in prime95. How do I put a specific number in? I'm looking at playing with 6^n +/- 1

Is there a way to put a certain number of that form or can I manipulate the programs search to leave the 2^n and just use 6^n

Thank you
jonno is offline   Reply With Quote
Old 2014-10-08, 05:44   #14
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
"name field"
Jun 2011
Thailand

1029110 Posts
Default

Don't need to bother with 6^n-1, that is always divisible by 5. (why?)
LaurV is offline   Reply With Quote
Old 2014-10-08, 06:06   #15
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
San Diego, Calif.

32×7×163 Posts
Default

Don't need to bother with 6^n+1, either. It can only be prime when n=2^m (for bonus points, -- why?)

And even then, after the first three primes (7, 37 and 1297), probabilistically, -- never. See http://www.prothsearch.net/GFN06.html



P.S. But you can search for factors of these. You will be in an awesome company, too! Look: H.Riesel, W.Keller, H.Dubner, and many other interesting people. One tool for that is mmff-gfn (on a GPU) and there are other programs.

Last fiddled with by Batalov on 2014-10-08 at 16:43 Reason: P.S.
Batalov is offline   Reply With Quote
Old 2014-10-08, 08:57   #16
Brian-E
 
Brian-E's Avatar
 
"Brian"
Jul 2007
The Netherlands

2×11×149 Posts
Default

And in general, unless I'm mistaken, prime95 is specifically designed, written, and highly optimised, for testing the primality of numbers of the form 2^n-1 and cannot be used for other numbers.
Brian-E is offline   Reply With Quote
Old 2014-10-08, 09:40   #17
axn
 
axn's Avatar
 
Jun 2003

23×683 Posts
Default

Quote:
Originally Posted by Brian-E View Post
And in general, unless I'm mistaken, prime95 is specifically designed, written, and highly optimised, for testing the primality of numbers of the form 2^n-1 and cannot be used for other numbers.
Correct, as far as primality tests go. But it can do a PRP-test on a much larger set of numbers, (k*b^n+/-c)/f
axn is offline   Reply With Quote
Old 2014-10-08, 09:54   #18
Brian-E
 
Brian-E's Avatar
 
"Brian"
Jul 2007
The Netherlands

2×11×149 Posts
Default

Quote:
Originally Posted by axn View Post
Correct, as far as primality tests go. But it can do a PRP-test on a much larger set of numbers, (k*b^n+/-c)/f
Ah, thanks. I never even knew about PRP testing with Prime95. I do now.
Brian-E is offline   Reply With Quote
Old 2014-10-08, 21:08   #19
jonno
 
Oct 2014

2 Posts
Default

Quote:
Originally Posted by Batalov View Post
Don't need to bother with 6^n+1, either. It can only be prime when n=2^m (for bonus points, -- why?)

And even then, after the first three primes (7, 37 and 1297), probabilistically, -- never. See http://www.prothsearch.net/GFN06.html



P.S. But you can search for factors of these. You will be in an awesome company, too! Look: H.Riesel, W.Keller, H.Dubner, and many other interesting people. One tool for that is mmff-gfn (on a GPU) and there are other programs.

Thank you. I'll look that up.
I know 6^n-1 is always a product of 5 but wanted to play with numbers like
6^n - 6^n-1 - 6^n-2..... -6^0
I've got a working sieve for elimination of all composite numbers and wanted to run tests against it.
jonno is offline   Reply With Quote
Old 2014-10-09, 17:01   #20
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
San Diego, Calif.

32×7×163 Posts
Default

Quote:
Originally Posted by jonno View Post
Thank you. I'll look that up.
I know 6^n-1 is always a product of 5 but wanted to play with numbers like
6^n - 6^n-1 - 6^n-2..... -6^0
I've got a working sieve for elimination of all composite numbers and wanted to run tests against it.
When you are using forms like these, all you will get will be probable primes.
You don't need to reinvent the wheel for a sieve for this form either, because it is easily simplified:
6^n - 6^n-1 - 6^n-2..... -6^0 = 6^n - (6^n-1)/5 = (4*6^n+1)/5
for which srsieve package will be vastly faster than any sieve you can write.
You need to sieve with "-pmin 7" (and then remove n=1(mod 5) because these are divisible by 5^k with k>1; except the only prime divisible by 5 at n=1, which is 5); and additionally remove all n=0 (mod 4) because of the Aurifeuillian factorization:
(4*6^4m+1)/5 = (2 * 6^2m + 2*6^m + 1)/5 * (2 * 6^2m - 2 * 6^m + 1).

And then you will find some PRPs with pfgw. Here is how they will start:
Code:
(4*6^1+1)/5 is prime
(4*6^2+1)/5 is prime
(4*6^3+1)/5 is prime
(4*6^5+1)/5 is prime
Switching to Exponentiating using GMP
(4*6^15+1)/5 is 3-PRP! (0.0000s+0.0001s)
(4*6^25+1)/5 is 3-PRP! (0.0000s+0.0014s)
(4*6^29+1)/5 is 3-PRP! (0.0000s+0.0011s)
(4*6^73+1)/5 is 3-PRP! (0.0000s+0.0000s)
(4*6^90+1)/5 is 3-PRP! (0.0000s+0.0000s)
(4*6^139+1)/5 is 3-PRP! (0.0001s+0.0000s)
(4*6^194+1)/5 is 3-PRP! (0.0001s+0.0000s)
Switching to Exponentiating using Woltman FFT's
(4*6^242+1)/5 is 3-PRP! (0.0016s+0.0000s)
(4*6^939+1)/5 is 3-PRP! (0.0161s+0.0000s)
(4*6^3518+1)/5 is 3-PRP! (0.2101s+0.0000s)
(4*6^3963+1)/5 is 3-PRP! (0.2434s+0.0001s)
(4*6^4694+1)/5 is 3-PRP! (0.3930s+0.0000s)
(4*6^5570+1)/5 is 3-PRP! (0.5256s+0.0001s)
(4*6^5615+1)/5 is 3-PRP! (0.5309s+0.0000s)
(4*6^6702+1)/5 is 3-PRP! (0.8243s+0.0000s)
(4*6^13962+1)/5 is 3-PRP! (3.8427s+0.0001s)
(4*6^14269+1)/5 is 3-PRP! (3.9239s+0.0001s)
(4*6^16339+1)/5 is 3-PRP! (4.6013s+0.0001s)
(4*6^16882+1)/5 is 3-PRP! (5.0966s+0.0001s)
...
Nice series, pretty dense (at least at its start).

All of these you can prove with Primo, but the larger ones will become unfeasible to prove, so the best place they will go to will be the PRP Top. The new PRP Top cutoff to enter is 20,000 decimal digits, so you'd need n>25702...
Code:
(4*6^22582+1)/5 is 3-PRP! (7.0355s+0.0001s)
(4*6^31415+1)/5 is 3-PRP! (13.1867s+0.0002s)
(4*6^105554+1)/5 is 3-PRP! (183.1141s+0.0005s) (82137 digits)
(4*6^120749+1)/5 is 3-PRP! (218.7588s+0.0006s) (93961 digits)
...
These are "near-repunits 444...445 in base 6". I've created an OEIS sequence A248613 for it. Feel free to find additional terms.

Last fiddled with by Batalov on 2014-10-11 at 02:46 Reason: ...13962 ...14269 ...16339 ...120749 ...OEIS
Batalov is offline   Reply With Quote
Old 2014-10-09, 20:28   #21
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

3·7·167 Posts
Default

Quote:
Originally Posted by retina View Post
Yes, perhaps. Often people post to several boards at the same time. They get belittled on one board, ignored on a second board, and nanny coddled on a third. It doesn't take a genius to guess which board they direct their attention to.
Where are these nanny-coddling boards? I've never encountered one.

It's the internet, the masks come off, and people, including myself, are revealed as their true selves.
jasong is offline   Reply With Quote
Old 2014-10-10, 10:36   #22
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

6,793 Posts
Default

Quote:
Originally Posted by jasong View Post
Where are these nanny-coddling boards? I've never encountered one.
Maybe some people act in such a way that they never get nanny coddled?
Quote:
Originally Posted by jasong View Post
It's the internet, the masks come off, and people, including myself, are revealed as their true selves.
So the protection of anonymity is at work? Except of course people are not really anonymous. With all the analysis and tracking going on it is almost impossible to remain anonymous without some very disciplined and restrictive behaviours.
retina is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Test a Specific Exponent in Prime95. When it is 100% done, does it mean I find a new prime number? king Information & Answers 5 2018-02-21 18:15
probable largest prime. sudaprime Miscellaneous Math 11 2018-02-05 08:10
Miller-Rabin Strong Probable Prime Test (SPRP) fenderbender Miscellaneous Math 22 2010-11-11 01:04
Fourth probable prime found, one to go! philmoore Five or Bust - The Dual Sierpinski Problem 22 2010-01-01 00:23
Another record probable prime found! philmoore Five or Bust - The Dual Sierpinski Problem 15 2009-02-08 19:43

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


Fri Jul 7 15:41:55 UTC 2023 up 323 days, 13:10, 0 users, load averages: 1.38, 1.30, 1.17

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.

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