Counting the number of inequivalent arithmetic expressions on n variables

An expression is any mathematical formula that contains certain formal variables and opera-tions 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 ?(n2) algorithm that computes the number of inequivalent arithmetic expressions on n distinct variables.

Authors

Institutions

Publication Details

Journal
Filomat
Published
2025-01-01
DOI
https://doi.org/10.2298/fil2503949s
Citations
1
Primary Topic
Numerical Methods and Algorithms
Type
article
Field-Weighted Citation Impact
1.50
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Counting the number of inequivalent arithmetic expressions on n variables

Žarko Ranđelović, Ivan Damnjanović, Ivan Stošić
1 citations
Filomat
Numerical Methods and Algorithms
1.50
article

Counting the number of inequivalent arithmetic expressions on n variables

Žarko Ranđelović, Ivan Damnjanović, Ivan Stošić
article en
1 citations

Abstract

An expression is any mathematical formula that contains certain formal variables and opera-tions 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 ?(n2) algorithm that computes the number of inequivalent arithmetic expressions on n distinct variables.

FilomatVol. 39(3)
University of Primorska (SI), University of Nis (RS), University of Cambridge (GB), London Mathematical Laboratory (GB)
Openalex Percentile: Top 14%
Numerical Methods and Algorithms
1.50
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Counting the number of inequivalent arithmetic expressions on n variables — Žarko Ranđelović, Ivan Damnjanović, et al. · Filomat (2025) | TGRS Research Map | TGRS