💾 Archived View for midnight.pub › replies › 5881 captured on 2024-07-09 at 02:42:10. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

< Handcrafted Integers

Parent

~johano

Umm, if X is prime and Y is a multiple of X, then Y is *not* prime, by definition...

Oh wait, I believe I understand you better now!

Example: First server serves multiples of 2, second server serves multiples of 3, they'll both try to serve 6... so really to make this foolproof, each server should only serve powers of distinct primes... that way there won't be collisions...

Write a reply

Replies

~tetris wrote (thread):

Exactly, but how do you test for distinct primes? This would a require an "is_prime" function right