News for hackers. Stuff that matters.
Re:Mathematicians find a new class of digitally delicate primes by f154hfds on Thursday April 01, 2021 @05:00PM (#26665957)
Well you all heard the challenge. Who has got idle GPUs sitting around? Let's find the smallest base 10 widely digitally delicate prime!

In all seriousness though, it's fascinating that we know this number exists but have no idea what it is. What a treasure hunt..

Re:Mathematicians find a new class of digitally delicate primes by rurp on Thursday April 01, 2021 @08:15PM (#26667869)
The fact that the existence of a type of number can be proven despite not finding a single example is very interesting and unintuitive to me as a non-mathematician.
Re:Mathematicians find a new class of digitally delicate primes by skissane on Thursday April 01, 2021 @10:12PM (#26668461)
A (small) minority of mathematicians find it unintuitive too. Intuitionistic mathematics and constructivist mathematics say that if you can't construct an example of it you can't prove it exists. They don't accept a proof that "some X exists such that P(X) is true" as valid unless you can give an example of such an X. "Intuitionist" because it is based on an intuition widely shared by a lot of people, but mostly rejected by modern mathematics.
Re:Mathematicians find a new class of digitally delicate primes by impendia on Thursday April 01, 2021 @08:58PM (#26668132)
An example described in the article, and which comes from the same branch of analytic number theory, is Daniel Shiu's result that you can find arbitrarily long strings of primes in "any" arithmetic progression.

(By "any" I mean any arithmetic progression a (mod m) where a and m don't share any common prime factor.)

So, for example, there is a string of a billion consecutive primes, each of whose decimal expansions ends in a billion ones.

In principle you could use the method to find it, possibly the first example would be around 10^(10^10) or so.

The gateway to all of this is the quantitative form of Dirichlet's theorem on prime numbers in arithmetic progressions: given coprime a and m, there are infinitely many primes which are a (mod m). (So, in other words, Shiu's result with "just one prime".) In this case, we know asymptotically how many such primes there are, and we can get upper bounds on the error. The proof is highly non-constructive, and uses complex analysis applied to the so-called "L-functions".

Using a variety of trickery ("sieve methods", "the circle method", etc.) this can then be leveraged into other interesting results.

Re:Mathematicians find a new class of digitally delicate primes by Blikkentrekker on Thursday April 01, 2021 @09:31PM (#26668296)
Simple example:

1. We first prove there are infinitely many primes.

2. Assume the number of primes is finite.

3. Thus, there exists a number that is the product of all primes.

4. Thus, there exists a number that is one more than the product of all primes, let us call this number A.

5. A is larger than any prime, thus different from any prime, thus not a prime.

6. Thus, there is at least one prime that A can be divided by.

7. But by it's very definition as the product of all primes + 1, the remainder of dividing this number by any prime is 1.

8. Thus, A is divisible by no prime, and prime.

9. Contradiction follows from assumption 2, thus assumption is false.

10. There are thus infinitely many primes.

11. There are finitely many number below 10^10^10^10^10

12. Thus, there must at exist infinite primes above 10^10^10^10^10

I don't know any of these numbers, but showing that a contradiction can be derived from assuming that such a number not exist is the common way to do it.

Re:Mathematicians find a new class of digitally delicate primes by tialaramex on Friday April 02, 2021 @07:39AM (#26670604)
In a way numbers are much worse than that. Imagine writing a number down as a decimal fraction, like 2.0 or 4.86. If when you do this, the digits go on forever and no digit (such as a zero or a three) appears much more or less often than the you'd expect at random, that number is called "normal in base 10". If that's true in every base, it's just called "normal".

That doesn't sound very normal, probably no numbers you usually think about have these properties, why do mathematicians call them "normal"? Well, the mathematicians have proved that almost all real numbers are normal. It just turns out that we haven't the faintest idea how to find them and we never needed them for anything so we didn't notice how abundant they apparently are.

We aren't even sure if some weird numbers we do know about are normal, Pi looks pretty normal, but we can't prove it is.

Re:Mathematicians find a new class of digitally delicate primes by mpoteat on Thursday April 01, 2021 @08:04PM (#26667801)
I am unsure whether or not GPUs are good at work involving arbitrary precision numbers. My intuition was that they excelled at doing massively parallel operations for which accuracy is not a high concern.

I would probably look into using some sort of large integer sieve if I were trying to search for an example. Thinking about it though, I am even unsure whether it is decidable that N is widely digitally delicate.

Re:Mathematicians find a new class of digitally delicate primes by ElderMillennial on Thursday April 01, 2021 @09:35PM (#26668313)
Wide integer multiplication works fine on a GPU:

Your number is broken up into 32-bit coefficients to 2^32 as a compounding power (sum over a_i * 2^32i) -- and then you can do it as tensor(ish) operations, if you fiddle with carry/mod steps in between to keep the coefficients the right size and partial results properly aligned.