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.
Nice kata, thanks! :) I've done a lot of such computations through the years and it is interesting to compare the expressivity of various languages (eg. C#, Java, Scala, Python, etc.). IMHO code in Python can the most expressive for these tasks as observed so far.
Another nice kata would be to sort the pitch class sets on Z12 by taking the index of the binary number. It allows to select a canonical representant of each pitch class set. And guess what's the rank of the diatonic set among all such canonic sets of size 7 and what are its neighbors ;)