106
v1v2v3 (latest)

Polynomial Expressions of Carries in p-ary Arithmetics

Abstract

It is known that any nn-variable function on a finite prime field of characteristic pp can be expressed as a polynomial over the same field with at most pnp^n monomials. However, it is not obvious to determine the polynomial for a given concrete function. In this paper, we study the concrete polynomial expressions of the carries in addition and multiplication of pp-ary integers. For the case of addition, our result gives a new family of symmetric polynomials, which generalizes the known result for the binary case p=2p = 2 where the carries are given by elementary symmetric polynomials. On the other hand, for the case of multiplication of nn single-digit integers, we give a simple formula of the polynomial expression for the carry to the next digit using the Bernoulli numbers, and show that it has only (n+1)(p1)/2+1(n+1)(p-1)/2 + 1 monomials, which is significantly fewer than the worst-case number pnp^n of monomials for general functions. We also discuss applications of our results to cryptographic computation on encrypted data.

View on arXiv
Comments on this paper