Authors: Ivan Stošić
Ivan Damnjanović
Ranđelović, Žarko 
Title: Counting the number of inequivalent arithmetic expressions on $n$ variables
Journal: Filomat
Issue Date: 22-May-2024
Rank: M21
ISSN: 0354-5180
DOI: 10.2298/FIL2503949S
Abstract: 
An expression is any mathematical formula that contains certain formal variables and operations to be executed in a specified order. In computer science, it is usually convenient to represent each expression in the form of an expression tree. Here, we consider only arithmetic expressions, i.e., those that contain only the four standard arithmetic operations: addition, subtraction, multiplication and division, alongside additive inversion. We first provide certain theoretical results concerning the equivalence of such expressions and then disclose a $Θ(n^2)$ algorithm that computes the number of inequivalent arithmetic expressions on $n$ distinct variables.
Keywords: arithmetic operation | expression tree | inequivalent expressions | number of expressions; Computer Science - Discrete Mathematics; Computer Science - Discrete Mathematics; Mathematics - Combinatorics; Mathematics - Number Theory

Show full item record

Google ScholarTM

Check

Altmetric

Altmetric


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.