Ad
  • Custom User Avatar

    1357
    Counting 9 too: 1, 3, 5, 7, 13, 57, 135, 357, 1357
    It should return 9, right?
    But the test expects 10

  • Custom User Avatar

    "For example, in the case of "1341", they are 1, 1, 3, 13, 41, 341, 1341, a total of 7 numbers."
    I'm counting 9: 1, 1, 3, 4, 13, 41, 134, 341, 1341
    What am I doing wrong?

  • Custom User Avatar

    For example the number 5, in the instructions specifies that is true but then the tests "expected true to equal false". It works if I run it on my machine with all the same numbers that the test does not pass, what am I doing wrong?
    https://i.ibb.co/HX5trnC/6-twin-prime.jpg