GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Golomb sequence

In mathematics, the Golomb sequence, named after Solomon W. Golomb (but also called Silverman's sequence), is a monotonically increasing integer sequence where a n is the number of times that n occurs in the sequence, starting with a 1 = 1, and with the property that for n > 1 each a n is the smallest positive integer which makes it possible to satisfy the condition. For example, a 1 = 1 says that 1 only occurs once in the sequence, so a 2 cannot be 1 too, but it can be 2, and therefore must be 2. The first few values are :1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

In mathematics, the Golomb sequence, named after Solomon W. Golomb (but also called Silverman's sequence), is a monotonically increasing integer sequence where a n is the number of times that n occurs in the sequence, starting with a 1 = 1, and with the property that for n > 1 each a n is the smallest positive integer which makes it possible to satisfy the condition. For example, a 1 = 1 says that 1 only occurs once in the sequence, so a 2 cannot be 1 too, but it can be 2, and therefore must be 2. The first few values are 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12 . ==Examples== a 1 = 1 Therefore, 1 occurs exactly one time in this sequence. a 2 > 1 a 2 = 2 2 occurs exactly 2 times in this sequence. a 3 = 2 3 occurs exactly 2 times in this sequence. a 4 = a 5 = 3 4 occurs exactly 3 times in this sequence. 5 occurs exactly 3 times in this sequence. a 6 = a 7 = a 8 = 4 a 9 = a 10 = a 11 = 5 etc. ==Recurrence== Colin Mallows has given an explicit recurrence relation a(1) = 1; a(n+1) = 1 + a(n + 1 - a(a(n))) . An asymptotic expression for a n is \varphi^{2-\varphi}n^{\varphi-1} where \varphi is the golden ratio (approximately equal to 1.618034). ==Notes== ==References== ==External links== Python code for Golomb Sequence

References

  1. Golomb sequence. https://en.wikipedia.org/w/index.php?oldid=1337940583 · 1795438144.7002156
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Golomb sequence". 1770879806. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1337940583

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·