I would like to find the height of a d-ary heap. Assuming you have an Array that starts indexing at $1$ we have the following:
The parent of a node $i$ is given by: $\left\lfloor\frac{i+1}{d}\right\rfloor$
The $d$ children of a parent at node $i$ are given by: $di-d+1, di-d+2,\ldots di+1$
The height of a heap (which is slightly different than the height of a binary search tree) is a longest path from the root to a leaf. A longest path will always be from the last node in the heap to the root, but how do I calculate this longest path?
My first Idea is to setup a recurrence relation for the height of the tree:
\begin{equation} h(1) = 0\\ h(i) = h\left(\left\lfloor\frac{i+1}{d}\right\rfloor\right)+1 \end{equation}
This seems overly-complicated and I feel like the answer is much more simple. Is there a better way to find the height of a $d-$ary heap?