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.
Add a pseudoprime number test case.
Test.assert_equals(number_property(341),[False,False,False])
Maybe
for i in range(a,b): a+=(i+1)
...
for i in range(b,a): b+=(i+1)
Error.
two squared consecutive triangular numbers
-2^6 (= 64) + -2^3 (= -8) + -2^2 (= 4) + -2^0 (= 1) = 61 (from Binary 1001101).
From right to left.
'From binary: 1001101 is 61'
to
This comment is hidden because it contains spoiler information about the solution