The Arithmetic of Recursively Run-Length Compressed Natural Numbers

被引:0
作者
Tarau, Paul [1 ]
机构
[1] Univ N Texas, Dept Comp Sci & Engn, Denton, TX 76203 USA
来源
THEORETICAL ASPECTS OF COMPUTING - ICTAC 2014 | 2014年 / 8687卷
关键词
run-length compressed numbers; hereditary numbering systems; arithmetic algorithms for giant numbers; representation complexity of natural numbers;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We study arithmetic properties of a new tree-based canonical number representation, recursively run-length compressed natural numbers, defined by applying recursively a run-length encoding of their binary digits. We design arithmetic operations with recursively run-length compressed natural numbers that work a block of digits at a time and are limited only by the representation complexity of their operands, rather than their bitsizes. As a result, operations on very large numbers exhibiting a regular structure become tractable. In addition, we ensure that the average complexity of our operations is still within constant factors of the usual arithmetic operations on binary numbers.
引用
收藏
页码:406 / 423
页数:18
相关论文
共 12 条
[1]  
[Anonymous], PPDP 10
[2]  
[Anonymous], 2000, NUMBERS GAMES
[3]  
Goodstein RL, 1944, Journal of Symbolic Logic, V9, P33, DOI DOI 10.2307/2268019.182
[4]  
Kiselyov O, 2008, LECT NOTES COMPUT SC, V4989, P64
[5]   MATHEMATICS AND COMPUTER SCIENCE - COPING WITH FINITENESS [J].
KNUTH, DE .
SCIENCE, 1976, 194 (4271) :1235-1242
[6]  
Li M., 1993, An Introduction to Kolmogorov Complexity and Its Applications, DOI [DOI 10.1007/978-3-030-11298-1, 10.1007/978-3-030-11298-1]
[7]  
Salomaa A., 1973, Formal Languages
[8]  
STANLEY RP, 1986, ENUMERATIVE COMBINAT
[9]  
Tarau P., 2014, P SAC 2014 ACM S APP
[10]  
Tarau P, 2014, LECT NOTES COMPUT SC, V8370, P565, DOI 10.1007/978-3-319-04921-2_46