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 think it relies on https://www.mathsisfun.com/money/compound-interest.html
I first tried this solution, but couldn't get my head around on how to add aug to the formula.
Pretty clever solution, though.
k is the integer to find. Basically, sum(digit ** p successives powers) = n * k,
so k = sum / n. You can figure the rest out.
Hey, I'm having some problems in this kata with JavaScript.
So basically for some tests no matter what value I store in 'k' it returns a weird unrelated value.
I tested this but logging the value of k before returning it , and the value of k is clearly not the value returned.
Please Help.
Pretty cool !
But i really do not understand the math behind this...
Plz explain.