series: implement a cache mechanism to remember the natural powers of series, useful to speed operations up during substitution.