Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 2
    \$\begingroup\$ Can you just submit isprime as a function submission? \$\endgroup\$ Commented Dec 9, 2017 at 18:07
  • \$\begingroup\$ i suppose so? good point \$\endgroup\$ Commented Dec 10, 2017 at 4:32
  • 3
    \$\begingroup\$ This doesn't work in julia 0.6+, (isprime was deprecated in 0.5 and moved to the Primes.jl package). I guess retitle this as Julia 0.5? \$\endgroup\$ Commented Dec 12, 2017 at 6:56
  • \$\begingroup\$ The challenge spec requires a full program. Also, isprime uses a probabilistic primality test and is thus cannot be used for this challenge. \$\endgroup\$ Commented Dec 12, 2017 at 12:56