A d-ary heap is like a binary heap, but instead of two children, nodes have 'd' children. A d-ary heap can be represented in a 1-dimensional array as follows. The root is kept in A[1], its d children are kept in order in A[2] through A[d + 1] their children are kept in order in A[d + 2] through A[d2+d+1] and so on. What index does maps the jth child for (1≤ J ≤ d) of ith index node?