Timeline for Is this number a prime?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 21, 2015 at 20:13 | comment | added | Alex A. | @AndréMuta For this challenge, all submissions must be full programs rather than just functions. Thanks for the suggestion though. | |
Dec 21, 2015 at 16:35 | comment | added | Mutador |
With f=function(x)sum(!x%%1:x)==2 you can do it in 28 bytes.
|
|
Sep 12, 2015 at 2:04 | history | edited | Alex A. | CC BY-SA 3.0 |
added 273 characters in body
|
Sep 12, 2015 at 1:46 | history | edited | Alex A. | CC BY-SA 3.0 |
added 43 characters in body
|
Sep 11, 2015 at 18:16 | history | answered | Alex A. | CC BY-SA 3.0 |