Questions tagged [algorithm]

The tag has no usage guidance.

16 questions
Filter by
Sorted by
Tagged with
118 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
125 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 ...
• 215
1k 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,445
109 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 ...
• 215
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,445
408 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,445
120 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-...
242 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
88 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
117 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
551 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
383 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 ...
704 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
219 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
50 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,051