Improved Algorithms for Integer Complexity

08/20/2023
by   Qizheng He, et al.
0

The integer complexity f(n) of a positive integer n is defined as the minimum number of 1's needed to represent n, using additions, multiplications and parentheses. We present two simple and faster algorithms for computing the integer complexity: 1) A near-optimal O(Npolylog N)-time algorithm for computing the integer complexity of all n≤ N, improving the previous O(N^1.223) one [Cordwell et al., 2017]. 2) The first sublinear-time algorithm for computing the integer complexity of a single n, with running time O(n^0.6154). The previous algorithms for computing a single f(n) require computing all f(1),…,f(n).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/06/2021

More on Change-Making and Related Problems

Given a set of n integer-valued coin types and a target value t, the wel...
research
11/20/2016

A note about "Faster algorithms for computing Hong's bound on absolute positiveness" by K. Mehlhorn and S. Ray

We show that a linear-time algorithm for computing Hong's bound for posi...
research
03/05/2000

Computing Circumscriptive Databases by Integer Programming: Revisited (Extended Abstract)

In this paper, we consider a method of computing minimal models in circu...
research
11/03/2018

Tight complexity lower bounds for integer linear programming with few constraints

We consider the ILP Feasibility problem: given an integer linear program...
research
05/13/2018

Deterministic Blind Radio Networks

Ad-hoc radio networks and multiple access channels are classical and wel...
research
08/09/2021

Improved Feature Importance Computations for Tree Models: Shapley vs. Banzhaf

Shapley values are one of the main tools used to explain predictions of ...
research
05/19/2011

Hierarchical Recursive Running Median

To date, the histogram-based running median filter of Perreault and Hébe...

Please sign up or login with your details

Forgot password? Click here to reset