Skip to main content

Timeline for Is this number a prime?

Current License: CC BY-SA 3.0

9 events
when toggle format what by license comment
Sep 22, 2015 at 9:49 history edited Toothbrush CC BY-SA 3.0
added 7 characters in body
Sep 17, 2015 at 19:24 comment added RK. Outputs true for 0 and 1.
Sep 14, 2015 at 16:48 comment added Mwr247 Also, needs an alert or other print function to be considered valid for code golf: meta.codegolf.stackexchange.com/questions/803/…
Sep 14, 2015 at 15:31 review Suggested edits
Sep 14, 2015 at 16:04
Sep 14, 2015 at 14:51 comment added Mwr247 Virtually identical to one already posted, which also covers the '1' case: codegolf.stackexchange.com/a/57692/30793
Sep 14, 2015 at 9:43 comment added Martin Ender This seems to be missing output. It assumes that the code is run in a console, i.e. a REPL environment. The challenge explicitly asks for a full program though.
Sep 13, 2015 at 17:54 comment added Toothbrush @ETHproductions OK. I'm working on the case of the input being 1.
Sep 13, 2015 at 17:37 history edited Toothbrush CC BY-SA 3.0
added 2 characters in body
Sep 11, 2015 at 22:44 history answered Toothbrush CC BY-SA 3.0