![]() |
|
|
#1 |
|
Feb 2013
2·229 Posts |
Can you make a guess about a number being prime just by looking at it?
Of course. First of all the number in question needs to be an odd one. But perhaps not ending in 5 (psst, psst). Take 2^99-1 for example. It writes out as 633825300114114700748351602687 (2^99-1) and it is not a prime. Why so? Try factorize it. You should end up with this number being expressed as 7*23*73*89*199*153649*599479*33057806959. Should I say something about the factors I got here as well? Make up your own guess. *** 299556989487*2^1290000-1 (doublechecker) *** |
|
|
|
|
|
#2 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36×13 Posts |
N = 2^99-1 = X^3-1 (where X=233), so X-1 divides it, therefore N is composite.
If someone gave it to you as a decimal N = 633825300114114700748351602687, you could start trial factoring N, N-1 and N+1, and for this particular N, you would have soon found the N+1 = 2^99 = X^3 and establish that it is a composite as shown in the first paragraph. For 299556989487*2^1290000-1, you simply enter it in the search field at http://primes.utm.edu/primes/search.php and get done with it. Now, if you are good at guessing, tell us if Code:
N = 89583649921898335546755162597196822062641633175520937530927940881007232352672380501178121583193640839934761013141127170003983125296971622250705020459425891356097027290154854540776876849478569350005562962280855907807148606558950080660092349081097329269014016433631576429222225764264647166787691734028687967269380993741637775905438234504898499851513172201808861942346759871595885006730035499922992220350739500963053465964588797220469241693331794092977369464477733100086937643344942406652051880099885426531750203760438887366916698997512400954654287647236080888144460921500901 |
|
|
|
|
|
#3 |
|
Feb 2013
2·229 Posts |
C:\Users\Me\DOCUME~1>pfgw32 --
Enter expression followed by carriage return: 89583649921898335546755162597196822062641633175520937530927940881007232352672380 50117812158319364083993476101314112717000398312529697162225070502045942589135609 70272901548545407768768494785693500055629622808559078071486065589500806600923490 81097329269014016433631576429222225764264647166787691734028687967269380993741637 77590543823450489849985151317220180886194234675987159588500673003549992299222035 07395009630534659645887972204692416933317940929773694644777331000869376433449424 06652051880099885426531750203760438887366916698997512400954654287647236080888144 460921500901 PFGW Version 3.4.9.32BIT.20110630.Win_Dev [GWNUM 26.6] PRP: 8958364992189833....8144460921500901 1/1899 mro=0.015625 sum=10463171.08/0. PRP: 8958364992189833....8144460921500901 1899/1899 mro=0.015625 sum=10463171.08 89583649921898335546755162597196822062641633175520937530927940881007232352672380 50117812158319364083993476101314112717000398312529697162225070502045942589135609 70272901548545407768768494785693500055629622808559078071486065589500806600923490 81097329269014016433631576429222225764264647166787691734028687967269380993741637 77590543823450489849985151317220180886194234675987159588500673003549992299222035 07395009630534659645887972204692416933317940929773694644777331000869376433449424 06652051880099885426531750203760438887366916698997512400954654287647236080888144 460921500901 is composite: RES64: [8A78C88F760440DE] (0.2343s+0.1494s) C:\Users\Me\DOCUME~1> Apparently this number is composite. But the strange thing is that there have been quite many Mersenne prime numbers being found. But the same may not be true for the Genefer numbers, despite being slightly smaller, N being 1048576 or 4194304. The value being used for b may increase their sizes, though. What is the reason for it being so? Another interesting question: Apparently 5795*2^5795+1 is a prime number. What is the decimal representation for this number? It should have 1749 digits. And not forgetting this weird number either. 393050634124102232869567034555427371542904833 It's a Cullen number, 141*2^141+1 (141=3*47, by the way). And it possibly may run a little faster using a DOS command prompt Window: C:\Users\Me\DOCUME~1>pfgw32 -- Enter expression followed by carriage return: 90825*2^90825+1 PFGW Version 3.4.9.32BIT.20110630.Win_Dev [GWNUM 26.6] 90825*2^90825+1 is 3-PRP! (9.8721s+0.0047s) Another Cullen prime there. Last fiddled with by storflyt32 on 2013-03-21 at 03:12 Reason: Inserting a blank line for clarity. Adding a couple of questions at the end. |
|
|
|
|
|
#4 |
|
Romulan Interpreter
Jun 2011
Thailand
7·1,373 Posts |
|
|
|
|
|
|
#5 |
|
Jun 2003
49116 Posts |
|
|
|
|
|
|
#6 |
|
Feb 2007
43210 Posts |
I think anyone who comes to this forum with at least half-way serious intentions has already seen the well known factorization of 2^ab - 1 which is also valid for any other x^ab - 1 and based on the even more general X^b - 1 = (X - 1)(X^(b-1) -+ ... - X + 1).
|
|
|
|
|
|
#7 |
|
Feb 2013
2·229 Posts |
I was wondering about this. Perhaps someone bother answering me.
I have just installed Windows to a new partition on a new disc today. Not all my data are currently available to me because of this. Anyway, I was able to download a version of the pfgw software which apparently is a quite recent version. I am getting quite decent run times when testing this out in a Windows DOS prompt. Prime numbers are divided into different types. PPS LLR / PPS LLR Extended, Sophie Germain are two or three of the short types. Woodall, Prime Sierpinski and Genefer are three of the long types of prime numbers. You are supposed to believe that there is no given or defined rule for the value of k being tested vs. or against N. A PPS LLR number like 1019*2^1790495+1 is known to be not a prime number because it is consisting of or having two or more factors in it. Same goes for a PPS LLR Extended number like 2437*2^1090800+1 which also is known to be not a prime number. In this case you are adding 1 at the end in order to make it an odd number for the computer to process. For a Sophie Germain number like 508226744727*2^1290000-1 you instead subtract 1 at the end and in the same way get an odd number to compute. This number also known to be not a prime number as well. Common for all of these numbers are that the factors these numbers are supposed to be having are not known. The algorithm which is being used (LLR) is not supposed to or being capable at finding out whether a given number of such a size is having any factors - only whether or not the number in question is a prime number or not may be found this way. The question really is as follows: When are the factors of a given number "converging" and you are getting only "one" - meaning that the number in question is a prime? Following are three sample outputs from a DOS command prompt using pfgw32 in Windows 7 Ultimate, 32 bits: C:\Users\Me\DOCUME~1\PFGW_W~1.3_2>pfgw32 -- Enter expression followed by carriage return: 1019*2^1790495+1 PFGW Version 3.7.3.32BIT.20130210.Win_Dev [GWNUM 27.8] 1019*2^1790495+1 is composite: RES64: [18BF21B1C3287056] (2462.6789s+0.0005s) C:\Users\Me\DOCUME~1\PFGW_W~1.3_2>pfgw32 -- Enter expression followed by carriage return: 2437*2^1090800+1 PFGW Version 3.7.3.32BIT.20130210.Win_Dev [GWNUM 27.8] 2437*2^1090800+1 is composite: RES64: [4374FA2883FA3F0D] (1040.3614s+0.0004s) C:\Users\Me\DOCUME~1\PFGW_W~1.3_2>pfgw32 -- Enter expression followed by carriage return: 508226744727*2^1290000-1 PFGW Version 3.7.3.32BIT.20130210.Win_Dev [GWNUM 27.8] 508226744727*2^1290000-1 is composite: RES64: [EC5DB56429811921] (1830.5552s+0.0006s) The first of the tasks above is PPS LLR, the second one is PPS LLR Extended. The third task is a Sophie Germain number. As you may be able to see, the Sophie Germain task took a little longer to compute. Except for its name, the PPS LLR Extended tasks typically are having shorter run time lengths than the similar or corresponding PPS LLR. Last fiddled with by storflyt32 on 2013-03-21 at 23:46 |
|
|
|
|
|
#8 |
|
Feb 2013
1CA16 Posts |
Is it possible to factorize 2^441-1 ?
Apparently this number is not a prime number. In return I may give you this one. C:\Users\Me\DOCUME~1\PFGW_W~1.3_2>pfgw32 -- Enter expression followed by carriage return: 2^859433-1 PFGW Version 3.7.3.32BIT.20130210.Win_Dev [GWNUM 27.8] 2^859433-1 is 3-PRP! (1319.0470s+0.0004s) Download this software and find prime numbers on your own. Have fun! Last fiddled with by storflyt32 on 2013-03-22 at 02:14 |
|
|
|
|
|
#9 |
|
"Ben"
Feb 2007
DB916 Posts |
|
|
|
|
|
|
#10 |
|
"Ed Hall"
Dec 2009
Adirondack Mtns
11·347 Posts |
|
|
|
|
|
|
#11 |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
29×3×7 Posts |
It took mine 1/90 of a second elapsed and 1/1000 second cpu time.
Code:
[pcl@anubis cunningham]$ time grep '^441' 2-.txt 441 126127.309583.5828257.4487533753346305838985313. P34 real 0m0.011s user 0m0.000s sys 0m0.001s [pcl@anubis cunningham]$ P.S. Don't spoil the fun by giving the missing factors. Let the OP learn something by finding them and, more importantly, why I omitted them. Last fiddled with by xilman on 2013-03-22 at 14:45 Reason: Add P.S. |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Yafu@Home needs to leave some small sequences for us too... | Stargate38 | Aliquot Sequences | 10 | 2017-11-15 13:43 |
| Can I just leave this here? (ECPP) | trhabib | Miscellaneous Math | 6 | 2011-08-19 16:34 |
| Yanks: leave off this Lockerbie Bomber | davieddy | Soap Box | 3 | 2010-07-20 23:26 |
| V4 Computers | MurrayInfoSys | Information & Answers | 3 | 2009-05-17 13:52 |
| Can I leave team? | 8191 | Software | 2 | 2003-11-14 08:20 |