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
  • \$\begingroup\$ 13 bytes Although it isn't super similar. Should I just post it myself? You can take it if you want but let me know if you're going to keep your solution. \$\endgroup\$ Commented Dec 13, 2017 at 18:25
  • \$\begingroup\$ OP says For a given positive integers range. I'll ask to clarify \$\endgroup\$ Commented Dec 13, 2017 at 18:27
  • \$\begingroup\$ @dylnan note that your version is invalid nonetheless (0 is the exception from the challenge, because it should be treated as a prime digit for some reason). Anyway, I posted a shorter and valid version \$\endgroup\$ Commented Dec 13, 2017 at 19:01
  • \$\begingroup\$ Oh I thought the 0 is prime rule had been changed \$\endgroup\$ Commented Dec 13, 2017 at 19:11