• yewler@lemmygrad.ml
    link
    fedilink
    arrow-up
    1
    ·
    9 months ago

    It’s a Sieve of Eratosthsenes in disguise. It’s pretty clever from what I remember, but I don’t recall all the details.