Arithmetic Expression Construction

11/23/2020
by   Leo Alcock, et al.
0

When can n given numbers be combined using arithmetic operators from a given subset of {+, -, ×, ÷} to obtain a given target number? We study three variations of this problem of Arithmetic Expression Construction: when the expression (1) is unconstrained; (2) has a specified pattern of parentheses and operators (and only the numbers need to be assigned to blanks); or (3) must match a specified ordering of the numbers (but the operators and parenthesization are free). For each of these variants, and many of the subsets of {+,-,×,÷}, we prove the problem NP-complete, sometimes in the weak sense and sometimes in the strong sense. Most of these proofs make use of a "rational function framework" which proves equivalence of these problems for values in rational functions with values in positive integers.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/26/2019

Bounding Zolotarev numbers using Faber rational functions

By closely following a construction by Ganelius, we construct Faber rati...
research
02/15/2022

The Membership Problem for Hypergeometric Sequences with Rational Parameters

We investigate the Membership Problem for hypergeometric sequences: give...
research
10/26/2021

The Computational Complexity of Finding Arithmetic Expressions With and Without Parentheses

We show NP-completeness for various problems about the existence of arit...
research
01/19/2021

Game values of arithmetic functions

Arithmetic functions in Number Theory meet the Sprague-Grundy function f...
research
01/10/2019

Towards platform-independent specification and verification of the standard trigonometry functions

Research project "Platform-independent approach to formal specification ...
research
10/28/2020

Simulating a coin with irrational bias using rational arithmetic

An algorithm is presented that, taking a sequence of unbiased coins as i...
research
03/07/2013

On the minimum FLOPs problem in the sparse Cholesky factorization

Prior to computing the Cholesky factorization of a sparse, symmetric pos...

Please sign up or login with your details

Forgot password? Click here to reset