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 marking it as resolved.
But it depends on what you name "working well". Your function didn't answer at all to the question. Read again the description, I fear that you didn't understand it. Did you succeed with the 3 small tests of "Run Tests" with equalSigma1 for n = 100, 738, 917? I am sure not. It's not an issue of the kata but an issue of your programming.
I messaged to the translator into Haskell. You'll be receiving an answer.
Calculate the answer for the first few rows. The pattern is too obvious to be missed.
truncate rounds toward 0, floor rounds towards -infinity. The only difference is when you work with negative numbers.