Elsevier

Journal of Algorithms

Volume 10, Issue 3, September 1989, Pages 403-412
Journal of Algorithms

Addition chains using continued fractions

https://doi.org/10.1016/0196-6774(89)90036-9Get rights and content

Abstract

This paper introduces a new algorithm for the evaluation of monomials in two variables xayb based upon the continued fraction expansion of ab. A method for fast explicit generation of addition chains of small length for a positive integer n is deduced from this Algorithm. As an illustration of the properties of the method, a Scholz-Brauer-like inequality p(N) ≤ nb + k + p(n + 1), is shown to be true whenever N is an integer of the form 2k(1 + 2b + … + 2nb). Computer experimentation has shown that the length of the chains constructed are of optimal length for all integers up to 1000, with 29 exceptions for which the length is equal to the optimal length plus one.

References (8)

There are more references available in the full text version of this article.

Cited by (31)

  • Computing special powers in finite fields

    2004, Mathematics of Computation
  • Generating a Shortest B-Chain using Multi-GPUs

    2022, Information Sciences Letters
  • Generation of addition chain using bacteria foraging optimization algorithm

    2021, International Journal of Engineering Trends and Technology
View all citing articles on Scopus

With the support of the NSERC of Canada Grant A9041 and of the FCAR of Québec Grant EQ1608.

With the support of the PRC de Mathématiques et Informatique, France.

View full text