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.
The idea of using Number.MAX_VALUE is not bad but if you want a valid result, you need n way lower than Number.MAX_VALUE
If you want an accurate result, you would even need n lower than 2^53 (134217727 max) because:
Math.pow(2, 53) == Math.pow(2, 53) + 1 >> true