Utilize este identificador para referenciar este registo: https://hdl.handle.net/1822/33765

Registo completo
Campo DCValorIdioma
dc.contributor.authorFerreira, João Fernandopor
dc.contributor.authorBackhouse, Rolandpor
dc.date.accessioned2015-02-10T14:38:58Z-
dc.date.available2015-02-10T14:38:58Z-
dc.date.issued2011-
dc.identifier.issn0167-6423-
dc.identifier.urihttps://hdl.handle.net/1822/33765-
dc.description.abstractAlgorithms can be used to prove and to discover new theorems. This paper shows how algorithmic skills in general, and the notion of invariance in particular, can be used to derive many results from Euclid’s algorithm. We illustrate how to use the algorithm as a verification interface (i.e., how to verify theorems) and as a construction interface (i.e., how to investigate and derive new theorems). The theorems that we verify are well-known and most of them are included in standard number-theory books. The new results concern distributivity properties of the greatest common divisor and a new algorithm for efficiently enumerating the positive rationals in two different ways. One way is known and is due to Moshe Newman. The second is new and corresponds to a deforestation of the Stern-Brocot tree of rationals. We show that both enumerations stem from the same simple algorithm. In this way, we construct a Stern-Brocot enumeration algorithm with the same time and space complexity as Newman’s algorithm. A short review of the original papers by Stern and Brocot is also included.por
dc.language.isoengpor
dc.publisherElsevier 1por
dc.rightsopenAccesspor
dc.subjectNumber theorypor
dc.subjectCalculational methodpor
dc.subjectGreatest common divisorpor
dc.subjectEuclid’s algorithmpor
dc.subjectInvariantpor
dc.subjectEisenstein arraypor
dc.subjectStern–Brocot treepor
dc.subjectAlgorithm derivationpor
dc.subjectEnumeration algorithmpor
dc.subjectRational numberpor
dc.titleOn Euclid's algorithm and elementary number theorypor
dc.typearticlepor
dc.peerreviewedyespor
dc.comments1859por
sdum.publicationstatuspublishedpor
oaire.citationStartPage160por
oaire.citationEndPage180por
oaire.citationIssue3por
oaire.citationTitleScience of Computer Programmingpor
oaire.citationVolume76por
sdum.journalScience of Computer Programmingpor
Aparece nas coleções:HASLab - Artigos em revistas internacionais

Ficheiros deste registo:
Ficheiro TamanhoFormato 
1859.pdf296,16 kBAdobe PDFVer/Abrir

Partilhe no FacebookPartilhe no TwitterPartilhe no DeliciousPartilhe no LinkedInPartilhe no DiggAdicionar ao Google BookmarksPartilhe no MySpacePartilhe no Orkut
Exporte no formato BibTex mendeley Exporte no formato Endnote Adicione ao seu ORCID