cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A058992 Gossip Problem: there are n people and each of them knows some item of gossip not known to the others. They communicate by telephone and whenever one person calls another, they tell each other all that they know at that time. How many calls are required before each gossip knows everything?

Original entry on oeis.org

0, 1, 3, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124
Offset: 1

Views

Author

Torsten Sillke (torsten.sillke(at)lhsystems.com), Jan 17 2001

Keywords

Comments

The sequence (for n>=1) refers to the famous "nine dots puzzle" as well. It represents the minimum number of straight lines that you need to fit the centers of n^2 dots (without lifting the pencil from the paper). - Marco RipĂ , Apr 01 2013

References

  • R. Tijdeman, On a telephone problem. Nieuw Arch. Wisk. (3) 19 (1971), 188-192. Math. Rev. 49 #7151

Crossrefs

Cf. A007456.

Programs

Formula

a(n) = 2n - 4 for n >= 4.
G.f.: x^2*(1+x-x^2+x^3)/(1-x)^2. - Colin Barker, Jun 07 2012