Ad
  • Default User Avatar

    You are thinking of the value that is generated for that input, but that position may be used by the number generated by a later member of the sequence.

    Bear in mind that 1) the array has to be in order and 2) there are no repeating positions.

  • Default User Avatar

    I had the same issue for a bit. You didnt calculate far enough down the list. 57 should be there.

  • Default User Avatar

    Language JS ?
    Sorry there are no errors in the tests.

  • Custom User Avatar

    Not a suggestion prior to the kata ~~

  • Default User Avatar

    If you're not sure what's not working for you, please post as a question instead. An issue is for when there's a clear problem with the kata. Also, please mention your language. Take note that almost 37K solvers have completed it in JavaScript. Here's some documentation on Troubleshooting-your-solution. If you wish, you may post your code with proper markdown and remember to use a spoiler tag. Then someone may be able to help you.