![]() |
Weird prime tests
What's your strangest way to check if a number is prime? Here's a Python one using regex:
Code:
import re |
I find it hard to believe that a regex could identify primeness. My recollection is that encryption keys are usually not exhaustively proven but only proven “likely prime”
|
All times are GMT -6. The time now is 04:00 AM. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.