|No such thing as a small change|
[OT] math fulgurationby Discipulus (Abbot)
|on Apr 06, 2021 at 13:40 UTC||Need Help??|
Discipulus has asked for the wisdom of the Perl Monks concerning the following question:
I had a mathematical fulguration (is rare because I have troubles with two digits divisions..) and I'd like to know if this is a known fact. In English it goes like:
> The n power of a number a is equal to 1 plus the summation from a**n-1 to a**0 multiplied by n-1
I'm not able to draw it in nice math signs, but in perl is like:
In the chat choroba was so kind to prove it mathematically (I leave to him the right to point to that ;)
I proved empirically and works also for powers of 2 (which I already known the formula and in my case becomes a reduced form as it implies * 1 ) and for powers of 1 where it implies * 0
It also works for n**1 and n**0 so it seems a nice generalisation.
Incidentally, there is a nicer way to do the above Σ in perl?
Does some mathematician knows if the above fulguration I had is a known fact?
PS fixed English formula using choroba fix below
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.