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.
I'm afraid it would be a bit too easy for cheaters, except with random tests...
Seems Codewars has problems!
For test3 the expected result is a STRING: "2 5 8 34 624" (same for the other tests) and I suppose you returned a string but your "4 12 33 624" is wrong becaause 33 is smaller than 34. Read again the description.
Java tests don't give the number to decompose but your reasoning with sqrt(1249) is false. Read again the description:-) The input is ALWAYS a positive integer. I must add that this kata is rather difficult, you must stick to it!