Today my diurnal age is 25233, a number that happens to be a polygonal number, specifically a 32-gonal number. A WolframAlpha article states that the generating function for the n-gonal numbers is given by: This means that for the 32-gonal numbers, the formula becomes: In WolframAlpha, the coefficients can then be identified using the series command:
In Sage, the Taylor series is generated using the code:
g(x)=x*(33*x+1)/(1-x)^3When run, this code produces the following output:
g.taylor(x,0,15).coefficients()
In the case of the 36-gonal numbers, the formula for the n-th term is given by:
In the case of
No comments:
Post a Comment