# geometric series

Published articles for geometric series.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Carnival of Mathematics #197

DevFeed: [Carnival of Mathematics #197](<https://devfeed.tech/articles/carnival-of-mathematics-197-40448.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2021/09/01/carnival-of-mathematics-197/>)

Published: 2021-09-01T08:00:00Z

Content type: article

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Mathematics](<https://devfeed.tech/topics/mathematics.md>), [Graphics](<https://devfeed.tech/topics/graphics.md>), [Simulation](<https://devfeed.tech/topics/simulation.md>), [Data Science](<https://devfeed.tech/topics/data-science.md>)

Tags: [carnival](<https://devfeed.tech/tags/carnival.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [fibonacci](<https://devfeed.tech/tags/fibonacci.md>), [folding](<https://devfeed.tech/tags/folding.md>), [functional-analysis](<https://devfeed.tech/tags/functional-analysis.md>), [geometric-series](<https://devfeed.tech/tags/geometric-series.md>), [graphics](<https://devfeed.tech/tags/graphics.md>), [inner-product](<https://devfeed.tech/tags/inner-product.md>), [knot-theory](<https://devfeed.tech/tags/knot-theory.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [oeis](<https://devfeed.tech/tags/oeis.md>), [sequence](<https://devfeed.tech/tags/sequence.md>), [sieve](<https://devfeed.tech/tags/sieve.md>), [simulation](<https://devfeed.tech/tags/simulation.md>), [umap](<https://devfeed.tech/tags/umap.md>), [visualization](<https://devfeed.tech/tags/visualization.md>)

### AI overview

The 197th Carnival of Mathematics introduces the number 197 and highlights mathematical and technical topics including curve untangling, folding equilateral triangles without measurement, and criticism of UMAP and t-SNE dimensionality reduction.

### Source excerpt

Welcome to the 197th Carnival of Mathematics! 197 is an unseemly number, as you can tell by the Wikipedia page which currently says that it has "indiscriminate, excessive, or irrelevant examples." How deviant. It's also a Repfigit, which means if you start a fibonacci-type sequence with the digits 1, 9, 7, and then continue with $ a_n = a_{i-3} + a_{i-2} + a_{i-1}$, then 197 shows up in the sequence. Indeed: 1, 9, 7, 17, 33, 57, 107, 197, ...

## Counting hash collisions with the birthday paradox

DevFeed: [Counting hash collisions with the birthday paradox](<https://devfeed.tech/articles/counting-hash-collisions-with-the-birthday-paradox-35234.md>)

Original publisher: [Read original article](<http://matt.might.net/articles/counting-hash-collisions/>)

Published: 2015-07-17T03:33:41Z

Content type: article

Language: en

Sources: [Matt Might](<https://devfeed.tech/sources/matt-might.md>)

Topics: [hashing](<https://devfeed.tech/topics/hashing.md>), [hash collision](<https://devfeed.tech/topics/hash-collision.md>)

Tags: [birthday](<https://devfeed.tech/tags/birthday.md>), [geometric-series](<https://devfeed.tech/tags/geometric-series.md>), [hash](<https://devfeed.tech/tags/hash.md>), [hash-function](<https://devfeed.tech/tags/hash-function.md>), [matching](<https://devfeed.tech/tags/matching.md>)

### AI overview

For a uniform hash range of size D, the expected number of matches as n values arrive is n − D + D((D−1)/D)^n. The derivation sums each arrival's probability of matching an earlier value, 1 − ((D−1)/D)^(k−1), then simplifies the geometric series. This counts arrivals that match something already seen, not unique matched values or matching pairs: if three arrivals share one value, the second and third each count as a match, for two total.

### Source excerpt

The birthday paradox observes that in a room of 23 people, the odds that at least two people share a birthday is 50% The same logic that drives matching birthdays also drives the probability that one can find collisions with a hash function. In other words, if you have a uniform hashing function that outputs a value between 1 and 365 for any input, the probability that two hashes would collide in a set of 23 values is also 50% Another useful calculation is the expected number of collisions for a sequence of \(n\) values when the range of the hash function contains \(D\) hashes. The closed form solution is: \[ n - D + D \left( \frac{D-1}{D} \right)^n \] There are a few places online that have this (or an equivalent) closed form solution listed, but I couldn't find anywhere that included the derivation of this form, so I've rederived it and posted it here as a technical note. (My present interest in this calculation comes from the number of matches that will happen in a patient-matching network that attempts to match patients having the same disease, assuming the are \(D\) total diseases possible and \(n\) patients in the network.) Read below for the derivation in terms of generalized birthdays. Click here to read the rest of the article