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.
Print the inputs.
Thanks for the answer!
I called it 5'-3' and 3'-5' originally and I was told that it was confusing. 'Up' and 'down' can be taken to refer to 'upstream' and 'downstream' which are genuine terms: https://en.wikipedia.org/wiki/Upstream_and_downstream_(DNA)
In
[1,2,3]
3
is neither2*2
nor2*2+1
then your sequence is invalid.The provided example (
[1, 3, 6, 13]
forN=13
) works so :3 = 1*2+1, 6 = 3*2, 13 = 6*2 +1