Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Centered hexagonal number
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Recurrence and generating function == The centered hexagonal numbers <math>H(n)</math> satisfy the [[recurrence relation]]<ref name=Deza/> :<math>H(n+1) = H(n) + 6n.</math> From this we can calculate the [[generating function]] <math>F(x) = \sum_{n \ge 0} H(n) x^n</math>. The generating function satisfies :<math>F(x) = x + xF(x) + \sum_{n \ge 2} 6n x^n.</math> The latter term is the [[Taylor series]] of <math>\frac{6x}{(1-x)^2} - 6x</math>, so we get :<math>(1 - x) F(x) = x + \frac{6x}{(1-x)^2} - 6x = \frac{x + 4x^2 + x^3}{(1-x)^2}</math> and end up at :<math>F(x) = \frac{x + 4x^2 + x^3}{(1-x)^3}.</math>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)