A note on the complexity of addition

06/14/2023
by   Emil Jeřábek, et al.
0

We show that the sum of a sequence of integers can be computed in linear time on a Turing machine. In particular, the most obvious algorithm for this problem, which appears to require quadratic time due to carry propagation, actually runs in linear time by amortized analysis.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/12/2018

Linear-Time In-Place DFS and BFS in the Restore Model

We present an in-place depth first search (DFS) and an in-place breadth ...
research
07/01/2020

A Typo in the Paterson-Wegman-de Champeaux algorithm

We investigate the Paterson-Wegman-de Champeaux linear-time unification ...
research
11/17/2021

Addition Machines, Automatic Functions and Open Problems of Floyd and Knuth

Floyd and Knuth investigated in 1990 register machines which can add, su...
research
07/22/2019

The k-Dimensional Weisfeiler-Leman Algorithm

In this note, we provide details of the k-dimensional Weisfeiler-Leman A...
research
07/14/2023

Computing Zigzag Vineyard Efficiently Including Expansions and Contractions

Vines and vineyard connecting a stack of persistence diagrams have been ...
research
04/12/2016

An incremental linear-time learning algorithm for the Optimum-Path Forest classifier

We present a classification method with incremental capabilities based o...
research
06/15/2023

Easier Estimation of Extremes under Randomized Response

In this brief note, we consider estimation of the bitwise combination x_...

Please sign up or login with your details

Forgot password? Click here to reset