Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
1357
Counting 9 too: 1, 3, 5, 7, 13, 57, 135, 357, 1357
It should return 9, right?
But the test expects 10
"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?
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