Multidimensional Divide-and-Conquer and Weighted Digital Sums

Abstract

This paper studies three types of functions arising separately in the analysis of algorithms that we analyze exactly using similar Mellin transform techniques. The first is the solution to a Multidimensional Divide-and-Conquer (MDC) recurrence that arises when solving problems on points in d-dimensional space. The second involves weighted digital sums. Write n in its binary representation n=(bi bi-1... b1 b0)2 and set SM(n) = Σt=0i tM bt 2t. We analyze the average TSM(n) = 1nΣj<n SM(j). The third is a different variant of weighted digital sums. Write n as n=2i1 + 2i2 + ... + 2ik with i1 > i2 > ... > ik≥ 0 and set WM(n) = Σt=1k tM 2it. We analyze the average TWM(n) = 1nΣj<n WM(j). We show that both the MDC functions and TSM(n) (with d=M+1) have solutions of the form λd n d-1n + Σm=0d-2(nm n)Ad,m( n) + cd, where λd,cd are constants and Ad,m(u)'s are periodic functions with period one (given by absolutely convergent Fourier series). We also show that TWM(n) has a solution of the form n GM( n) + dM M n + Σd=0M-1(d n)GM,d( n), where dM is a constant, GM(u) and GM,d(u)'s are again periodic functions with period one (given by absolutely convergent Fourier series).

0

Discussion (0)

Sign in to join the discussion.

Loading comments…