The homogeneous characteristic equation is
A linear particular solution gives
so and . Thus
The initial data yield and , hence
For the ordinary generating function of a recurrence, multiply by and sum for . Using gives
Equivalently,
Expanding each geometric series gives exactly the displayed formula for , verifying consistency.
The floor-half generating function is
Summing for gives
so
Since
a particular solution is
Adding the homogeneous term and imposing gives . Therefore

Articles by others on the same topic (0)

There are currently no matching articles.