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.
wowzer
Also thought about getting closed form for "n" but I guess rounding error would be big enough to make answer wrong in some cases. Probably it's not a problem in test cases
Sorry,I dont understand, why do you divinate on pc in first equation?
p1 = p0*(1+pc) + aug
p2 = p1*(1+pc) + aug = (p0*(1+pc) + aug)(1+pc) + aug = p0(1+pc)^2 + aug*((1+pc) + 1)
p3 = p2*(1+pc) + aug = (p0*(1+pc)^2 + aug*((1+pc) + 1)(1+pc) + aug =
= p0(1+pc)3 + aug((1+pc)^2 + (1+pc)) + aug = p0*(1+pc)3 + aug((1+pc)^2 + (1+pc) + 1)
.
.
.
pN = p0*(1+pc)^N + aug*((1+pc)^(N-1) + (1+pc)^(N-2) + ... + (1+pc)^2 + (1+pc)^1 + (1+pc)^0)
= p0*(1+pc)^N + aug*((1+pc)^N - 1)
Nice