数学 > 一般数学
[提交于 2021年5月30日]
标题:Primality test and primes enumeration using odd numbers indexation
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Marc Wolf[v1] 2021年5月30日 星期日 10:13:35 UTC