140 likes | 281 Views
Flexible Arithmetic for Huge Numbers with Recursive Series of Operations. Vagan Terziyan*, Alexey Tsymbal**, Seppo Puuronen** *Dept. of CS and ISs, Kharkov State Technical University of Radio-electronics, UKRAINE vagan@kture.cit-ua.net
E N D
Flexible Arithmetic for Huge Numbers with Recursive Series of Operations Vagan Terziyan*, Alexey Tsymbal**, Seppo Puuronen** *Dept. of CS and ISs, Kharkov State Technical University of Radio-electronics, UKRAINE vagan@kture.cit-ua.net **Department of CS and ISs, University of Jyväskylä, FINLAND {alexey, sepi}@jytko.jyu.fi
Finland and Ukraine University of Jyväskylä Finland State Technical University of Radioelectronics Kharkov Ukraine AAECC’99 Honolulu November 14-19, 1999 Flexible Arithmetic for Huge Numbers with Recursive Series of Operations by Terziyan, Tsymbal, & Puuronen
Contents • Introduction: Ackerman’s Recursive Function • Infinite Series of Arithmetical Operations • Properties of Recursive Arithmetical Operations • Calculation of Recursive Arithmetical Operations: A Derecursivation Algorithm • Recursive Counters and Coding Huge Numbers • A Relationship Between Recounters and Recursive Arithmetical Operations • Conclusions and Future Work • Contact Info AAECC’99 Honolulu November 14-19, 1999 Flexible Arithmetic for Huge Numbers with Recursive Series of Operations by Terziyan, Tsymbal, & Puuronen
Ackerman’s Recursive Function • Problems: • huge numbers: 999 is so huge that it would require a 1800km piece of paper (with 0.5cm on each digit); • recursion of second degree -- labor-consuming algorithm for calculation; • practical applications. AAECC’99 Honolulu November 14-19, 1999 Flexible Arithmetic for Huge Numbers with Recursive Series of Operations by Terziyan, Tsymbal, & Puuronen
Infinite Series of Arithmetical Operations Inverse operations: AAECC’99 Honolulu November 14-19, 1999 Flexible Arithmetic for Huge Numbers with Recursive Series of Operations by Terziyan, Tsymbal, & Puuronen
Properties of Recursive Arithmetical Operations AAECC’99 Honolulu November 14-19, 1999 Flexible Arithmetic for Huge Numbers with Recursive Series of Operations by Terziyan, Tsymbal, & Puuronen
Calculation of Recursive Arithmetical Operations AAECC’99 Honolulu November 14-19, 1999 Flexible Arithmetic for Huge Numbers with Recursive Series of Operations by Terziyan, Tsymbal, & Puuronen
Derecursivation Algorithm: Variables AAECC’99 Honolulu November 14-19, 1999 Flexible Arithmetic for Huge Numbers with Recursive Series of Operations by Terziyan, Tsymbal, & Puuronen
Derecursivation Algorithm AAECC’99 Honolulu November 14-19, 1999 Flexible Arithmetic for Huge Numbers with Recursive Series of Operations by Terziyan, Tsymbal, & Puuronen
Recursive Counters AAECC’99 Honolulu November 14-19, 1999 Flexible Arithmetic for Huge Numbers with Recursive Series of Operations by Terziyan, Tsymbal, & Puuronen
Coding Huge Numbers with Recounters We propose to code huge numbers with the following pair: For example: Intervals coded with each such pair are: AAECC’99 Honolulu November 14-19, 1999 Flexible Arithmetic for Huge Numbers with Recursive Series of Operations by Terziyan, Tsymbal, & Puuronen
A Relationship Between Recounters and Recursive Arithmetical Operations AAECC’99 Honolulu November 14-19, 1999 Flexible Arithmetic for Huge Numbers with Recursive Series of Operations by Terziyan, Tsymbal, & Puuronen
Conclusions and Future Work • A recursive expansion of the set of ordinary arithmetical operations was investigated; • The recursive arithmetical operation was defined, where n is the level of recursion starting with ordinary + (n=1); • Basic properties of recursive operations were investigated, an algorithm for calculation of these operations was considered; • The recursive counters’ apparatus was proposed for representation of huge integers, which are results of recursive operations, in a restricted memory; • Practical applications: random number generation? AAECC’99 Honolulu November 14-19, 1999 Flexible Arithmetic for Huge Numbers with Recursive Series of Operations by Terziyan, Tsymbal, & Puuronen
Contact Info Vagan Terziyan*, Alexey Tsymbal**, Seppo Puuronen** *Dept. of CS and ISs, Kharkov State Technical University of Radio-electronics, UKRAINE vagan@kture.cit-ua.net **Department of CS and ISs,University of Jyväskylä, FINLAND {alexey, sepi}@jytko.jyu.fi AAECC’99 Honolulu November 14-19, 1999 Flexible Arithmetic for Huge Numbers with Recursive Series of Operations by Terziyan, Tsymbal, & Puuronen