Questions tagged [algorithm]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
0 answers
186 views

Who came up with the proof of "Bézout's identity" that uses the well-ordering principle?

Let $a$ and $b$ be two integers not both of which are equal to zero. It is an important and well-known fact that $\text{gcd}(a,b)=ax_{0}+by_{0}$ for some integers $x_{0}$ and $y_{0}$. Even though this ...
2 votes
1 answer
148 views

History of primality testing

Consider a uniform random variable $n$ which is an integer in the interval $2^{1023} < n < 2^{1024}$. What is the oldest algorithm capable of determining whether or not $p$ is a probable prime ...
  • 181
2 votes
1 answer
146 views

Did the 1800 Gregorian Lunar Correction Motivate Gauss' Computus Algorithm?

When the Gregorian calendar was implemented in 1582, one of its adjustments was the lunar correction---to increase the epact by 1 eight times within a span of 2500 years; specifically, seven times ...
4 votes
2 answers
2k views

How did von Neumann come up with his merge sort algorithm?

Since merge sort is the first $O(n \log n)$ time general purpose sorting algorithm I find it rather surprising that it was discovered without having any obvious conceptual predecessors. Are there any ...
  • 1,476
2 votes
1 answer
116 views

Where does the term "pivot" come from in the quicksort algorithm?

The quicksort algorithm is based on recursively choosing an element to partition the array. In every modern exposition that I've seen, this element is called the "pivot". However, as far as ...
17 votes
1 answer
4k views

Was Kolmogorov enraged after learning about the Karatsuba multiplication algorithm?

Some years ago, I read that Kolmogorov was so enraged that Karatsuba disproved one of his conjectures that he terminated his seminar shortly thereafter. This Wikipedia page claims that Kolmogorov was ...
  • 1,476
4 votes
2 answers
503 views

How did Yao come up with his minimum spanning tree algorithm?

I recently stumbled upon this text about Yao's algorithm for the minimum spanning tree (MST) and I was wondering if there are some preceding algorithms (other than Sollin's algorithm) that were ...
  • 1,476
3 votes
1 answer
124 views

When was the problem of factoring integers explicitly considered, what was the oldest factoring algorithm?

I know Gauss made it clear that he wanted an efficient solution to the problem in 1801. In his Disquisitiones Arithmeticae he calls all factoring algorithms "laborious and prolix", surely a 19th-...
3 votes
1 answer
261 views

When is the first use of Newton's method for root finding?

I saw this from Wikipedia. The name "Newton's method" is derived from Isaac Newton's description of a special case of the method in De analysi per aequationes numero terminorum infinitas (written in ...
  • 111
2 votes
1 answer
94 views

When was the Laguerre's method first used to approximate roots?

Is there a specific date when Laguerre published his root finding method? I found his 1880 note Résolution des équations numériques, but I am not sure if this is the source because I can not read ...
  • 111
4 votes
1 answer
124 views

When was the inverse quadratic interpolation method first used?

Do you know anything about it? I couldn't really find something useful on web.
  • 111
6 votes
1 answer
564 views

What was the motive for inventing Gröbner bases?

How did professor Buchberger discover Gröbner (Groebner) bases for polynomial ideals? What was the problem(s) that lead to such a discovery?
  • 203
6 votes
1 answer
425 views

Did Jacobi invent the Hungarian algorithm for the assignment problem over a century before Kőnig and Egerváry?

Wikipedia says: In 2006, it was discovered that Carl Gustav Jacobi had solved the assignment problem in the 19th century, and the solution had been published posthumously in 1890 in Latin. The ...
7 votes
1 answer
929 views

Were ancient Romans so bad at computations before Arab numerals?

It is often said that Romans (see below) had a terrible number system, which made computations a mess. I do believe this, but I'm suspicious of the claim that nobody had better ways to do computations ...
  • 165
6 votes
1 answer
271 views

What is the earliest instance of the use of an algorithm to solve problems?

In reading a description on Usenet of a NIST competition for selecting a standard cipher, I read: Consider that the best currently known methods for factoring use randomization: Construct enough ...
  • 181
0 votes
0 answers
52 views

Frege alluded to a logic algorithm?

Somewhere (I wish I remember where) I read that Gottlob Frege, although he didn't invent a logic algorithm, alluded to one (the Quine–McCluskey algorithm? something else? converting truth tables to ...
  • 5,211
14 votes
1 answer
14k views

Who invented short and long division?

I am curious who came up with algorithms that we use today to manually solve mathematical division problems, such as short or long division; how were they established or standardized that way and why?...
  • 243