作为数据结构的数字:作为原语的素后继函数
Numbers as Data Structures: The Prime Successor Function as Primitive
摘要:
数字的符号表示应被视为数据结构,而数据结构的选择取决于要执行的算术运算。数字几乎普遍使用基于位置的符号表示,基于基数的指数幂-通常为10。这种表示对于标准算术运算是计算上有效的,但对于因式分解不是有效的。这导致了一个普遍的混淆,即因式分解本质上是计算困难的。提出了一种新的自然数表示法,它以自然数的素数后继函数为基元,并以素数包为基元。这种数据结构对于大多数算术运算更有效,并且使得数字可以被有效地分解。然而,它也有一个有趣的特点,即加法似乎是计算困难的。PB有一个有趣的替代解释,作为以标准方式表示的数字的分区,这揭示了素数和分区函数之间的新关系。PB表示可以扩展到有理数和无理数,这为2的平方根的无理性提供了最直接的证明。我认为,最终需要理解的不是十进制系统(如因式分解)特有的计算复杂性,而是算术运算符的权衡通常是可能的。
英文摘要:
The symbolic representation of a number should be considered as a data structure, and the choice of data structure depends on the arithmetic operations that are to be performed. Numbers are almost universally represented using position based notations based on exponential powers of a base number - usually 10. This representations is computationally efficient for the standard arithmetic operations, but it is not efficient for factorisation. This has led to a common confusion that factorisation is inherently computationally hard. We propose a new representation of the natural numbers based on bags and using the prime successor function as a primitive - prime bags (PBs). This data structure is more efficient for most arithmetic operations, and enables numbers can be efficiently factored. However, it also has the interesting feature that addition appears to be computationally hard. PBs have an interesting alternative interpretation as partitions of numbers represented in the standard way, and this reveals a novel relationship between prime numbers and the partition function. The PB representation can be extended to rational and irrational numbers, and this provides the most direct proof of the irrationality of the square root of 2. I argue that what needs to be ultimately understood is not the peculiar computation complexity properties of the decimal system (e.g. factorisation), but rather what arithmetical operator trade-offs are generally possible.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。