IPython notebook with certain power series calculations