210
Views
1
CrossRef citations to date
0
Altmetric
Section A

An algorithm to compute integer ηth roots using subtractions

, &
Pages 1629-1643 | Received 30 Jun 2010, Accepted 28 Sep 2010, Published online: 23 Mar 2011
 

Abstract

This work presents two algorithms based on a finite-difference method to calculate the integer ηth root y of an integer number x. The algorithm ηRA uses only additions and subtractions to calculate y. The algorithm is extremely simple and takes time and space O(η) to calculate the ηth root. The algorithm FηRA divides x in group of digits to calculate y; it has a temporal and spatial complexity of and O2), respectively. The set of operations of FηRA also includes multiplications and divisions. The algorithms were compared theoretically and empirically against binary search and a numerical method that calculate y. Results show that ηRA has a good performance when the quotient (log 2 x)/η is small, and FηRA presents a fair performance when η is small in comparison with log 2 x. An additional contribution is a short addition chain for the sequence {1η, 2η, …, y η} produced by ηRA.

2010 AMS Subject Classifications :

Acknowledgements

This research was partially funded by the following projects: CONACyT 58554-Cálculo de Covering Arrays, 51623-Fondo Mixto CONACyT y Gobierno del Estado de Tamaulipas.

Log in via your institution

Log in to Taylor & Francis Online

PDF download + Online access

  • 48 hours access to article PDF & online version
  • Article PDF can be downloaded
  • Article PDF can be printed
USD 61.00 Add to cart

Issue Purchase

  • 30 days online access to complete issue
  • Article PDFs can be downloaded
  • Article PDFs can be printed
USD 1,129.00 Add to cart

* Local tax will be added as applicable

Related Research

People also read lists articles that other readers of this article have read.

Recommended articles lists articles that we recommend and is powered by our AI driven recommendation engine.

Cited by lists all citing articles based on Crossref citations.
Articles with the Crossref icon will open in a new tab.