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 returned value will be negative in case of the following input (Will not be long):
int n = 2;
int m = 1000000000;
Plus, it takes too much time in case of such inputs as too many additional numbers are generated
with that range method then to be filtered.