> Consider the method of expressing Gaussian Integers as sums of powers of > (-1 + i) (with coefficients just either 0 or 1). See also Knuth, The Art of Computer Programming, vol. 2, 2nd ed., pp 189-190. -- Don Reble djr at nk.ca