arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.01327math.GM
收藏

用奇数不可数的素性检验和素数enumeration

Primality test and primes enumeration using odd numbers indexation

Marc Wolf, François Wolf

摘要:

奇数可以通过映射k(n)=(n-3)/2来索引,n属于2N+3。我们首先提出了一个基本的素性测试,使用在文章(8)中首次引入的这个索引函数。减少了操作的输入大小,这将计算时间提高了一个常数。然后,我们采用类似的技术,阿特金素数筛使用模运算,最后普里查德轮筛,在这两种情况下产生类似的结果。

英文摘要:

Odd numbers can be indexed by the map k(n)=(n-3)/2, n belonging to 2N+3. We first propose a basic primality test using this index function that was first introduced in article (8). Input size of operations is reduced which improves computational time by a constant. We then apply similar techniques to Atkin prime-numbers sieve which uses modulus operations and finally to Pritchard wheel sieve, in both case yielding similar results.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑