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.
It should be prime numbers. It means a whole number greater than 1 whose only factors are 1 and itself.
I think [4, 8, 10, 14, 16, 20] is a better answer, it equals 72.
This comment is hidden because it contains spoiler information about the solution
The answer is in the description: "For comparing treat all letters as UpperCase."
Print the input.
On my machine too, the last test fails. Even I want to know the scenario in which it fails :(
[5, 7, 11, 13, 17, 19]
does not satisfy the[p, p + 4, p + 6, p + 10, p + 12, p + 16]
criteria. I think you've got the intervals switched, like[p, p + 2, p + 6, p + 8, p + 12, p + 16]