You need to sign in or sign up before continuing.×
Ad
  • Custom User Avatar
  • Custom User Avatar

    This is a big deal: without negative numbers (or unary minus), one can use a much, much simpler parser.

  • Custom User Avatar

    seems it's not consistent through all languages. I guess your version hs been updated with random tests.

  • Custom User Avatar

    I added the 142857 in a new "clarifying anti-example" section in the description in hopes of improving the understanding of this kata's requirements.
    I resisted creating this out of concern that I was creating a "wall of text" that either won't get read or that otherwise discourages kata attempts.

    My favorite kata on here are terse, deceptively simple and their solutions profoundly satisfying.

  • Custom User Avatar

    142857 is 5-parasitic but 142857 ends in 7 NOT with 5 as the title "n-parasitic ending in n" and the "Special Parasitic Numbers" section clearly calls out.