"are one less than another number to the power of two"
Ummmm... Maybe the other way around, one less than two to the power another number?
No need to post this, just helping out. Cheers.
The Great Internet Mersenne Prime Search (GIMPS) has struck again, finding the largest-ever Mersenne prime number. The number, the 48th Mersenne prime found, is 17,425,170 digits long and therefore most comfortably represented as 257885161-1 . The previous record-holder was a mere 12,978,189 digits. If you want to read the …
Ah yes -- in my reckless youth I made a pilgrimage to Hamilton's plaque on Brougham Bridge north of Dublin, where he supposedly had the brainwave of skipping a three-dimensional number system, going up to four dimensions and dropping multiplicative-commutivity.
Quaternions got used for a while by physicists I believe, but seem to have been dropped more recently in favour of 2x2 matrices (presumably on the grounds that four real numbers are easier to believe in than three imaginary ones ;) ).
BTW, don't knock plain old "i". Quaternions aren't strictly speaking necessary, but i is compelling :)
If that's 1 GPU that's pretty impressive.
Usual caveats, highly specialised problem, highly tuned code probably non portable etc.
Today a big address space is 2^64 words and I'm not sure anyone has ever fully populated that for a single processor but 2^57 million is just a whole other ball game.
You'd literally need to store data in terms of individual molecules in a full 3d array to get this kind of capacity.
MP's are handy if you want to do size a hash table and you want to address calculations to be simple. They are a bit sparse (48 of them to get to this number) but a compact table to store, as long as you don't have to evaluate the whole number.
Thumbs up for the effort. Onward to 100 million digits!
"Usual caveats, highly specialised problem, highly tuned code probably non portable etc"
Yup, testing a prime number is an "embarrassingly parallel" activity I believe, so translates incredibly well to CUDA. When you consider the number of cores in a GPU it's rather unsurprising.
Not quite; the calculation is basically 58 million *consecutive* 3407872-element double-precision complex FFTs. The FFTs can be split among the cores of a GPU or of a multi-core CPU-based system, but it's not embarrassingly parallel in the normal sense of requiring lots of independent small calculations.
The 32-core server was running a completely different implementation of the large FFT needed to do the arithmetic on such huge numbers, which is not particularly aggressively tuned (in particular, it doesn't use AVX instructions), which is why it was rather slower than a six-core Sandy Bridge using AVX; the idea was to do the calculation using two completely different software implementations and check both got the same answer.
Getting Fourier transforms to run well on a GPU is not at all straightforward, but since doing it allows you to sell thousands of GPUs to people like Shell and Exxon because the work of converting seismic reflection data to 3D images is made of Fourier transforms, nVidia has done it.
Understanding the behaviour of prime numbers is absolutely crucial to the current, safe, implementation of any securely networked IT system - including ecommerce and military communications.
Why would a prudent society not be spending in every way on prime number research?
Lets be clear. Hunting down the biggest primes is not going to help our understanding of prime numbers. The motive for that is just thrill seeking. Everyone enjoys a prime hunt, but we have already captured sufficient primes if we want to researching their behavior, we don't need to find ever bigger ones. Some of the existing primes haven't even been studied in any detail. If these researchers would just place 7, 23 and 39 in laboratory conditions and observe them they might learn a lot about the behaviour of prime numbers. Perhaps introduce some even numbers and see what happens.
"If these researchers would just place 7, 23 and 39 in laboratory conditions and observe them they might learn a lot about the behaviour of prime numbers"
They might even spot that 39 was there masquerading as a prime number but how long would they take to see through its disguise?
Are you paying for this research? As far as I can tell, this is a volunteer program, so you're not paying for it any more than you just paid for my lunch.
Or maybe you meant, why are we, as a species, paying for something that you, as an individual have no interest in. I'd reply with, "Why the hell should the other seven billion people who don't know you care what you think they should spend their money on?"
Curtis Cooper is running prime95 on a couple of thousand computers at the University of Central Missouri.
Running prime95 on a modern computer, rather than letting it idle when not busy, costs about $70 in electricity a year.
So it is costing UCMo about $150,000 a year; not a completely trivial sum, but if that's what they want to spend their money on, so be it.
> Excluding 1, what is the smallest integer that is not the sum of two primes,
> the product of two primes or a power of a prime?
I would go with 117; it is the product of three prime numbers (3,3,13) (so not two); as a product with different factors it is not a power of a prime (and I am taking primes themselves to be excluded since they are a prime to the power 1). As an odd number, if it were to be the sum of two primes, one of them would have to be 2; but this leaves 115 which is not prime.
I would also claim that it would be wrong to claim that as its factors (3,3,13) consist of only two distinct primes that disqualifies it; because, by that logic you can create any integer above 5 by repeatedly adding 2 and 3.
I say 45 = 3 x 3 x 5.
It cannot be a power of a prime, and I take this to mean it cannot be a prime itself. Power by one is a power.
It cannot be the product of two primes, so it must be the product of three primes at least.
It cannot be the sum of two primes, so it is not even, because every even number small enough to be tested is the sum of two primes. See Goldbach Conjecture.
So I choose the smallest possible three primes, none of them 2, not all of them equal, which are 3, 3 and 5.
I am excluding zero and negative integers on grounds of not being interesting.
This post has been deleted by its author
I don't get it. Why after all the replies here has nobody mentioned that this is Goldbach's conjecture (and unsolved)?