Mathematicians hunting prime numbers discover infinite new pattern

scientificamerican.com

163 points

georgecmu

14 days ago


105 comments

wewewedxfgdf 12 days ago

This sort of thing makes me feel there is some deep understanding of reality only inches away from us, we glimpse it through these patterns but the secret remains hidden.

  • dcow 12 days ago

    I don’t think this understanding will be related to the structure of reality but instead the structure of discrete math. Math is not an observed property of reality it’s a system of describing quantities and relations between them, often with plenty of practical application. Math is applied philosophy and physics is applied math.

    • bmacho 12 days ago

      Discrete math is the single most "observed property of reality", and nothing else comes even close.

      • hausrat 11 days ago
        24 more

        The very notion of discreteness depends on subjective definitions of "objects". We take concepts of objects for granted because they make interacting with the world tractable, but it's really hard to define them outside of minds.

        • feoren 11 days ago
          2 more

          No, discrete math is exactly the same regardless of your definition of "object". It is completely independent of that. Discrete math is important to any theoretical beings that have any concept of "objects" whatsoever. It would be mostly irrelevant to entities that have no such conception, but those entities are not writing math papers.

          • dcow 10 days ago

            Which is exactly why I initially suggested that the structure of primes has more to do with how theoretical beings count than with how the universe propagates state.

        • random3 11 days ago
          2 more

          No, the discreetness comes from physical experiments. I do see a problem defining something outside of one’s mind or outside the universe though :)

          • IAmBroom 9 days ago

            Discreetness only comes from experiments carried out in secret laboritories.

            Pronounce "lah-BORE-i-tories", obviously.

        • yunwal 11 days ago
          19 more

          As far as we know, the universe is made up of discrete units and any other type of math is an abstraction over discrete math.

          • giardini 11 days ago
            5 more

            As far as we know, the universe is a single unity, and any discrete units and any other type of math are human distinctions overlaid upon that unity.

            • random3 11 days ago
              4 more

              Can you explain what you mean here? I mean yes there’s a universe so it can be see as a unit. There’s also quantum mechanics, telling us we can only distinguish discrete objects at the bottom of the scale. Can you give an example of a non-human distinction, or explain what you mean by that concept?

              • giardini 6 days ago

                FWIW my use of the phrase "human distinction" was merely for emphasis: I make no claims about non-humans.

                In any case, any distinction I have interest in or speak of would be human, whether made by a human or otherwise.

              • giardini 8 days ago

                Yes. It was a parody of yunwal's post (which I possibly should have cc'ed). . Reread yunwai's post and mine together and you will understand.

                Endless "unity...discrete" discussions have arisen in both science and philosophy since the beginning.

              • IAmBroom 9 days ago

                I assume the post is missing its "/s".

          • Keyframe 11 days ago
            13 more

            I thought it was a smooth continuous manifold

            • datameta 11 days ago
              12 more

              To what extent are the Planck length and Planck second confirmed smallest discrete units?

              • Keyframe 11 days ago
                7 more

                I was referring to spacetime in GR is modeled as smooth continuous manifold. In case you're serious though, planck length are not some fine-grained pixels/voxels in the cartesian 3d world, at least not confirmed; in-fact planck units are derived scales.

              • thot_experiment 11 days ago
                4 more

                I'm not a physicist, but I think those are the smallest units in the sense that they are the smallest units we could theoretically interact with/measure, not some hard limit. It's just that it's moot to consider anything smaller because there's no way for us to ever know.

                • datameta 10 days ago
                  3 more

                  Is that because we see no way to bootstrap equipment down so many magnitudes of scale, not even close - or is it something else?

                  • narnarpapadaddy 10 days ago
                    2 more

                    Any given model has less fidelity than reality. An atlas map of the US has less detail than the actual terrain. The Planck constants represent the maximal fidelity possible with the standard model of physics. We can’t model shorter timeframes or smaller sizes, so we can’t predict what happens at scales that small. Building equipment the can measure something so small is difficult too… how do you measure something when you don’t know what to look for?

                    It may be that one day we come up with a more refined model. But as of today, it’s not clear how that would happen or if it’s even possible.

                    Imagine going from 4K to 8k to 16k resolution and then beyond. At some point a “pixel” to represent part of an image doesn’t make sense anymore, but what do you use instead? Nobody currently knows.

                    • narnarpapadaddy 10 days ago

                      One addendum / clarification:

                      It may also be that "space" and "time" are emergent properties, much like an "apple" is "just" a description of a particular conglomeration of molecules. If we get past Planck scales it may turn that out that there are no such things as "space" and "time" and the Planck constants are irrelevant. We currently don't know but there _are_ a few theoretical frameworks that have yet to be empirically verified, like string theory.

      • swayvil 12 days ago
        17 more

        I for one never saw a "number 2" in the wild. But I'm a homebody.

        • alphazard 12 days ago
          13 more

          If I handed you 1 apple, and then handed you another apple, you wouldn't be surprised to find that you had 2 apples. The same trick works with oranges and pears.

          • FredPret 11 days ago
            7 more

            > If I handed you 1 apple,

            At this point I hold one object that we agree to label "apple". Note that even seeing it as a single object is a layer of abstraction. In reality it's a clump of fundamental particles temporarily banding together

            > and then handed you another apple,

            What's "another apple"? What does it have in common with the thing I'm already holding? We label this thing to be also an apple, but it's a totally different set of atoms, from a different tree, perhaps from the other side of the planet. Perhaps the atoms formed in stellar processes light years away from that of the other apple.

            Calling both of these things "apple" is a required first step to having two of them, but that is an of abstraction, a mental trick we use to simplify the world so we can represent it in our minds.

            I'm not a particle physicist but I hear electrons *can* be counted without any unwitting help from our lower-level neural circuitry.

            • cwmoore 11 days ago
              2 more

              I’m not sure I am intended to understand what your problem is.

              • FredPret 9 days ago

                Personally, I suffer from whatever it is that drives a person to think about what numbers mean.

                The numbers themselves aren't a problem, I'm just pointing out that our cognition involves many overlapping layers of abstraction, and we're doing mathematics and every other mental activity in one or more of those layers.

                That this seems to correlate strongly to real-world phenomena speaks well of the types of abstraction that nature has equipped us with.

            • swayvil 11 days ago

              I wouldn't even go with particles. I'd call it a stream of sensations.

            • majkinetor 8 days ago
              3 more

              Very nicely said.

              However, what about virtual things, e.g. apples in a computer game.

              • FredPret 8 days ago
                2 more

                There are no virtual things! Every computer / imaginary apple is represented by real electrons on a drive / chemicals in a brain. Even if we are a simulation, we also have to ultimately be represented by something real.

                • majkinetor 8 days ago

                  It seems that there are no real things either. As far as we know, every real thing is represented by another real thing. Even electrons are made of quarks, which are probably made of other things we don't know yet.

                  Addition is abstract phenomena based on math, which itself is abstract, so it can only function in abstract setup.

          • verzali 12 days ago

            But not necessarily with rabbits. Can easily end up with dozens of 'em when you ony started out with two.

          • swayvil 11 days ago

            There are a dozen leaps of abstraction occuring before you arrive at "2 apples".

            You are differentiating, classifying, etc.

          • pixl97 11 days ago
            2 more

            Zero, one, infinity.

            • datameta 11 days ago

              Infinity, aka 2 or more. I agree that those are truly three distinct classes of quantity/identity

        • ndsipa_pomu 11 days ago

          I've never seen gravity, but here I am, stuck to the ground

        • konfusinomicon 11 days ago

          bears shit in the woods so they're out there if you look in the right place

        • curtisblaine 12 days ago

          I guess you saw two things in the wild though.

    • m3kw9 12 days ago

      Math defines all that we do. Why do we want more? Because of addition.

    • swayvil 12 days ago

      Even counting and measurement are contrived abstractions. If any big ultimate truth is delivered it will probably be referring to our psychology.

  • freed0mdox 12 days ago

    and it will be something so trivial and obvious, those who were looking for it will be kicking themselves for missing it

    • seanmcdirmid 12 days ago

      It’s a huge refrain that shows up again every 20 years or so. Wolfram wrote a huge book with this premise, but I don’t think it’s gone anywhere even though it’s surely 25 years old by now.

      • A_D_E_P_T 12 days ago
        2 more

        It's arguably ~2500 years old, dating back to the Pythagoreans, who believed that "all is number" and had a very large and complex system of musical rituals.

        The modern manifestation is mostly the intellectual product of Konrad Zuse, who wrote "digital physics" in 1969.

        > https://en.wikipedia.org/wiki/Digital_physics

        Wolfram, Tegmark, Bostrom, etc. are mostly downstream of Zuse.

        • CRConrad 10 days ago

          > Konrad Zuse

          That...? Ah, yes, that Konrad Zuse.

      • Kaijo 12 days ago

        Wolfram came to our evolutionary biology department to preach that book about 20 years ago. We all got our heads into cellular automata for a while, but in the end they just don't have the claimed profound explanatory power in real biological systems.

      • burnt-resistor 12 days ago

        GEB was similar in a cycle prior. It's cool to dream but the limits of accepted knowledge requires the hard work of assembling data, evidence, and reasoning.

    • amelius 12 days ago

      Or someone proves that there is no pattern and they will be kicking themselves for wasting their time searching.

      • mensetmanusman 12 days ago

        The experience gained along the journey is more valuable than the result.

    • e1ghtSpace 12 days ago

      honestly this would be it, wouldn't it? https://www.icloud.com/iclouddrive/07fRJGiC51VEHPqYRfNaFjnEA

      • lukan 12 days ago
        7 more

        Did you tried to share a hollywood action movie with us to tell us what exactly?

        • e1ghtSpace 12 days ago
          6 more

          Did you listen? The audio is different yet it still works.

          • lukan 12 days ago
            4 more

            No, I did not download a big movie and likely won't to get a point on HN.

  • waltbosz 12 days ago

    Wouldn't it be fun if someone out there already knows a simple way to determine if a number is prime without factoring, but to them it is so obvious that they didn't even consider others may be interested.

    • kevinventullo 12 days ago

      As far as I know, the Lucas-Lehrer test used by GIMPS does not actually factor: https://en.m.wikipedia.org/wiki/Lucas%E2%80%93Lehmer_primali...

      • Someone 12 days ago

        That works for very few numbers. From that Wikipedia article: “In mathematics, the Lucas–Lehmer test (LLT) is a primality test for Mersenne numbers”

        That’s fine for GIMPS, which only searches for Mersenne primes, but doesn’t work in general.

        https://en.wikipedia.org/wiki/Primality_test#Fast_determinis... mentions several tests that do not require factorization, though.

    • throwaway81523 12 days ago

      Pseudoprime test usually works, and AKS algorithm always works, both are much faster than factoring.

    • vasvir 12 days ago

      Well I have a really elegant proof for this but I don't have enough space in the HN reply box to write it out -- but it is trivial, I am sure you will work it out.

         Fermat Reincarnation.
      • CRConrad 10 days ago

           >   Fermat Reincarnation.
        
        Pascal, I think.
    • adgjlsfhk1 11 days ago

      Since 2002 this has been known, and it's one of the least intuitive things in modern math. (versions with probability of 1-\epsilon have existed since Miller-Rabin in 1976)

  • briffid 12 days ago

    I had a similar feeling. But I think this is indeed a glimpse to the intrinsic structure of reality itself, not just a promise of seeing reality. Like we can have a blink of turning around in Plato's cave. I think the patterns of the Mandelbrot set is a similar thing. And there are only a handful of other things that shows the very basic structure of reality. And the encouraging thing is that it seems the core of reality is not an infinite void.

  • cyanydeez 10 days ago

    Makes me feel like math is mostly an arbitrary realm that after you've got 90% of the way in, the remaining 10% is just pointless coincidences.

Sniffnoy 12 days ago

I'm a little confused at the significance here. Before I read the definition of the M_a, this seemed crazy, but on actually reading it, M_1 is just the sum-of-divisors function (usually denoted sigma).

So, n is prime iff M_1(n)=n+1. That's much simpler than the first equation listed there!

Indeed, looking things up, it seems that in general the functions M_a can be written as a linear combination (note: with polynomial coefficients, not constant) of the sigma_k (sigma_k is the sum of the k'th power of the divisors). So this result becomes a lot less surprising once you know that...

  • isaacfrond 12 days ago

    The M functions are the MacMahon’s partition functions (see the paper [1]). They were not known to relate to the sum of divisors. The M_a function counts partitions in a parts but weighing multiplicities in the partion.

    [1]: https://arxiv.org/abs/2405.06451

    • Sniffnoy 11 days ago

      M_1 is obviously just sigma. That's straight from the definition, you can't tell me that wasn't known.

      As for the higher ones, I'm having trouble finding a proper citation saying that this was known earlier, but this math.stackexchange answer asserts that MacMahon himself worked some of this out: https://math.stackexchange.com/a/4922496/2884 No proper citation though, annoying.

      When you say "this wasn't known", on what basis is that? It's very hard to be sure that something wasn't known unless you're an expert on that particular thing!

    • boothby 11 days ago

      Sorry, but M_1 is simply the sum of divisors, and I don't think that was ever a mystery. Specializing the notation from the paper for M_a, to a=1, and writing pythonic with finite bounds for clarity...

        M_1(n) = sum(
          m
          for m in range(1, n+1)
          for s in range(1, n+1)
          if m*s = n
        )
  • boothby 11 days ago

    I agree that the observation "M_1(n) = n+1 iff n is prime" is elementary. It certainly motivates some intuition behind the investigation in this paper, but I'd loathe to call it obvious.

    Note that the paper studies equations with polynomial coefficients on McMahon series. That is, the n+1 in our trivial observation is "stray" in a sense.

    For an at-a-glance indication of nontriviality, look no further than the conjecture associated with Theorem 1.2 -- that there are exactly five equations of this sort which are prime indicators. That seems spooky, to me; I can't help but wonder what structure underlies such a small number of relations.

  • bubblyworld 12 days ago

    Can you elaborate? How does this result become less surprising if you know that? Personally I would not have guessed that there are infinitely many characterisations of P involving sums-of-powers-of-divisors either.

    • Sniffnoy 11 days ago

      I mean, if you can do something a simple way, it's not that surprising that you can also do it a complicated way, I'd say.

      • bubblyworld 10 days ago

        It's not surprising you can do exactly the same thing in more complex ways... but we're talking about infinitely many independent characterisations of P here.

ysofunny 11 days ago

I hope the twin prime conjecture will become a theorem during the remainder of my lifetime

that's why I already got the double twin prime conjecture ready:

there exists an infinite number of consecutive twin primes. 3 examples: 11,13; 17,19. 101,103;107,109, AND 191,193;197,199... I know of another example near the 800s

there's also the dubious, or trivial, or dunno (gotta generalize this pattern as well) of the first "consecutive" twin prime but they overlap which is 3,5 and 5,7.... which reminds me of how only 2 and 3 are both primes off by one; again, I need to generalize this pattern of "last time ever primes did that"

  • D-Coder 11 days ago

    BTW the phone number in Jenny's song, 867-5309, is a twin prime (867-5311).

    • jsisto 11 days ago

      Twin towers prime 9/11

  • zck 11 days ago

    > there's also the dubious, or trivial, or dunno (gotta generalize this pattern as well) of the first "consecutive" twin prime but they overlap which is 3,5 and 5,7.... which reminds me of how only 2 and 3 are both primes off by one; again, I need to generalize this pattern of "last time ever primes did that"

    For the triplet n, n+2, n+4, exactly one of those numbers is divisible by 3. So the only triplet n, n+2, n+4 where all numbers are prime contains 3: 3, 5, 7.

noqc 11 days ago

Because the article doesn't actually say so (presumably because the author doesn't know the difference between "if" and "if and only if") the statement:

(3n^3 − 13n^2 + 18n − 8)M_1(n) + (12n^2 − 120n + 212)M_2(n) − 960M_3(n) = 0

is equivalent to the statement that n is prime. The result is that there are infinitely many such characterizing equations.

  • ijustlovemath 10 days ago

    A iff B doesn't mean "this is the only way for this to be true", it means A implies B and B implies A. B being the statement that a number is prime, but you can have any arbitrary A that is actually true.

    • noqc 10 days ago

      You could not be more wrong, and I am in a very bad mood unrelatedly, so that is all I will say.

      • ijustlovemath 10 days ago
        2 more

        feel free to expound once you're feeling regulated.

        • noqc 3 days ago

          A iff B exactly means "A is the only way for B to be true". The rest of your comment is gibberish.

    • lupire 10 days ago

      I have no idea what you are trying to say. What is "this" and what is the other "this"? A and B?

      What is an arbitrary A?

      • ijustlovemath 10 days ago

        Hm, not sure how much math you've had, so let's start with fairly basic stuff.

        A and B are statements within a given set of axioms whose truth value is knowable within those axioms. A could be something like "Some number k that we pick is prime", and B could be something like "k is even"

        When you see in math people saying "some statement is true iff some other statement is true", that "iff" stands for "if and only if", which really just means two things hold:

        1. Starting with statement A, we can prove statement B.

        2. Starting with statement B, we can prove statement A.

        In math shorthand, we'd write this as

        1. A implies B, or just A => B

        2. B => A

        You need to prove both directions for you to be able to say "A iff B"

        Let's try it with our example statements. Does it hold? Your intuition should be saying "absolutely not", and let's see why:

        1. k prime implies k is either 2, or odd. So the statement A => B only holds when k is 2. We choose k, so this could be true in a trivial case, but does not hold in the generic case

        2. k even implies k is divisible by 2, so again, the statement "k even => k prime" only holds for one trivial case and not in the generic one.

        Now for the original comment. I was pointing out that just because you have some proof of A iff B, does not mean there couldn't be another, completely separate statement C, for which you can prove A iff C. These relationships have equivalence, but are nonetheless not the same (outside of a categorical sense of sameness).

        Some of the most compelling math of the 20th century was showing the sameness of many different fields by finding new iff relationships.

anthk 12 days ago

Prime generating functions in polynomials? That's almost Lisp domain.

Mathematicians should play with Scheme and SICP.

coderatlarge 9 days ago

just this quote from the article shocked me:

“In 1976, Jones, Sato, Wada, and Wiens (2) (…) produced a degree 25 polynomial in 26 variables whose positive values, as the variables vary over nonnegative integers, is the set of primes.“

drdunce 11 days ago

This have implications for public key cryptography?

  • boothby 11 days ago

    Computing M_a(n) appears to be at least as hard as factoring n for a=1, so I think you're safe here.

  • datameta 11 days ago

    My naive notion on this is yes, iff the new method is computationally or memory-wise of lower complexity

nprateem 11 days ago

Oh. (3n3 − 13n2 + 18n − 8)M1(n) + (12n2 − 120n + 212)M2(n) − 960M3(n) = 0.

I'd have thought that was obvious.

swayvil 12 days ago

Yeah but can we get a pretty picture out of it? A cool fractal is worth a thousand words.