A Non-Oblivious Reduction of Counting Ones to Multiplication
Holger Petersen

TL;DR
This paper introduces an efficient algorithm for counting ones in a binary word using only logical operations and multiplication, achieving a time complexity of O(log log b).
Contribution
It presents a novel non-oblivious method that reduces counting ones to multiplication, improving efficiency over previous approaches.
Findings
Runs in time O(log log b)
Uses only logical operations and multiplication
Offers a new approach to counting ones
Abstract
An algorithm counting the number of ones in a binary word is presented running in time where is the number of ones. The operations available include bit-wise logical operations and multiplication.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · semigroups and automata theory · Advanced Combinatorial Mathematics
