Timeline for Is this number a prime?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 2, 2022 at 19:38 | comment | added | Julius | I think two bytes could be shaved off by calculating the greatest common denominator of x with 1...x (x∨⍳x) instead of the residue, then checking how many are unique (+/≠), and comparing that to 2: 2=+/≠x∨⍳x←⎕ | |
| Apr 13, 2017 at 12:39 | history | edited | CommunityBot | replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/ | |
| Sep 13, 2015 at 21:47 | history | edited | Alex A. | CC BY-SA 3.0 | added 90 characters in body |
| Sep 13, 2015 at 21:32 | history | edited | Alex A. | CC BY-SA 3.0 | added 334 characters in body |
| Sep 11, 2015 at 20:45 | history | edited | Alex A. | CC BY-SA 3.0 | deleted 28 characters in body |
| Sep 11, 2015 at 20:34 | history | answered | Alex A. | CC BY-SA 3.0 |