Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rgrau
on Aug 23, 2023
|
parent
|
context
|
favorite
| on:
My favorite prime number generator
Here's a solution in k, that uses a similar array oriented approach:
&2=+/~x!/:\:x:!100
I wrote a little explanation of it, in case anyone is curious about how it works:
https://github.com/kidd/arraylangs-index/blob/master/noteboo...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: