vix.ing · top · new · best · stats · spec

Counting Square-Free Numbers

2011/07/25 by Jakub Pawlewicz, Pawlewicz, Jakub
Mathematics · Computer Science · #Benford’s Law and Fraud Detection #Computability, Logic, AI Algorithms

paper · pdf · doi:10.48550/arxiv.1107.4890

Abstract

The main topic of this contribution is the problem of counting square-free numbers not exceeding n. Before this work we were able to do it in time (Comparing to the Big-O notation, Soft-O (\softO) ignores logarithmic factors) \softO(√(n)). Here, the algorithm with time complexity \softO(n2/5) and with memory complexity \softO(n1/5) is presented. Additionally, a parallel version is shown, which achieves full scalability. As of now the highest computed value was for n=1017. Using our implementation we were able to calculate the value for n=1036 on a cluster.

Related