Back to Search Start Over

Arithmetic Expression Construction

Authors :
Leo Alcock and Sualeh Asif and Jeffrey Bosboom and Josh Brunner and Charlotte Chen and Erik D. Demaine and Rogers Epstein and Adam Hesterberg and Lior Hirschfeld and William Hu and Jayson Lynch and Sarah Scheffler and Lillian Zhang
Alcock, Leo
Asif, Sualeh
Bosboom, Jeffrey
Brunner, Josh
Chen, Charlotte
Demaine, Erik D.
Epstein, Rogers
Hesterberg, Adam
Hirschfeld, Lior
Hu, William
Lynch, Jayson
Scheffler, Sarah
Zhang, Lillian
Leo Alcock and Sualeh Asif and Jeffrey Bosboom and Josh Brunner and Charlotte Chen and Erik D. Demaine and Rogers Epstein and Adam Hesterberg and Lior Hirschfeld and William Hu and Jayson Lynch and Sarah Scheffler and Lillian Zhang
Alcock, Leo
Asif, Sualeh
Bosboom, Jeffrey
Brunner, Josh
Chen, Charlotte
Demaine, Erik D.
Epstein, Rogers
Hesterberg, Adam
Hirschfeld, Lior
Hu, William
Lynch, Jayson
Scheffler, Sarah
Zhang, Lillian
Publication Year :
2020

Abstract

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.

Details

Database :
OAIster
Notes :
application/pdf, English
Publication Type :
Electronic Resource
Accession number :
edsoai.on1358728172
Document Type :
Electronic Resource
Full Text :
https://doi.org/10.4230.LIPIcs.ISAAC.2020.12