• yewler
    link
    fedilink
    arrow-up
    1
    ·
    5 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.