Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jerf
on Sept 9, 2016
|
parent
|
context
|
favorite
| on:
Regular Expression That Checks If A Number Is Prim...
It's worth pointing out that we
are
talking about representing numbers in unary, though. Or even more directly, plain ol' string length since the RE under discussion doesn't even care what symbols you are using, so "11111" = "abcde" under this RE.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: