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.
Good luck!
Actually maybe😂 it depends on what scholarships I'll be able to get when I graduate.
This comment is hidden because it contains spoiler information about the solution
you are overengineering by calculating inner square. Try math induction, write down equations for 2, 3, 4 with X and look for pattern, then simplify equation
there are six bullet points in the "conditions" section, and from what I read of your message, it looks like you're considering the last two only.
It's the same for all languages in this kata. That's the way the creator defined the task. The rightmost position is 1.
Please use markdown tags to format your code, or it is unusable and doesn't display properly (asterisks aren't displayed, etc.), see there: https://docs.codewars.com/training/troubleshooting/#post-discourse