Suppose that someone starts with a chain letter. Each person who receives the…

2012

Suppose that someone starts with a chain letter. Each person who receives the letter is asked to send it on to 4 other people. Some people do this, while some do not send any letter. How many people have seen the letter, including the first person, if no one receives more than one letter and if the chain letter ends after there have been 100 people who read it but did not send it out? Also find how many people sent out the letter.

Answer: C. 133 & 33Concept. In a full m-ary tree every internal vertex has exactly m children, and every vertex except the root is the child of exactly one internal vertex.…

  1. A.

    122 & 22

  2. B.

    111 & 11

  3. C.

    133 & 33

  4. D.

    144 & 44

Attempted by 26 students.

Show answer & explanation

Correct answer: C

Concept. In a full m-ary tree every internal vertex has exactly m children, and every vertex except the root is the child of exactly one internal vertex. Writing i for the number of internal vertices, n for the total number of vertices and l for the number of leaves, this gives the two counting identities n = m·i + 1 and l = n − i = (m − 1)·i + 1. Knowing any one of i, n or l therefore fixes the other two.

Application. Model the chain letter as a rooted tree:

  • The first person is the root, and an edge is drawn from x to y whenever x sends the letter to y.

  • No one receives more than one letter, so every person other than the root has exactly one parent — the structure really is a tree, with no cycles and no repeats.

  • A person who forwards the letter sends it to exactly 4 people, so every internal vertex has exactly 4 children: the tree is a full m-ary tree with m = 4.

  • The 100 people who read the letter but did not send it out are exactly the vertices with no children, so the number of leaves is l = 100.

Now apply the leaf identity and then the vertex identity:

  1. Substitute m = 4 and l = 100 into l = (m − 1)·i + 1, which gives 100 = 3i + 1.

  2. Solve for i: 3i = 100 − 1 = 99, so i = 33. These 33 internal vertices are the people who sent the letter out.

  3. Substitute i = 33 into n = m·i + 1: n = 4 × 33 + 1 = 133. These 133 vertices are all the people who saw the letter, the first person included.

Cross-check by counting letters instead of vertices. The 33 senders each posted 4 letters, so 33 × 4 = 132 letters were posted. Every person except the originator received exactly one letter, so the readership is 132 + 1 = 133, and the number who read without forwarding is 133 − 33 = 100 — exactly the figure the question fixes.

Contrast. Every offered pair already differs by 100, so the 100-leaf condition alone does not separate them; the identity n = 4i + 1 does:

Senders i

4i + 1

Total stated

22

89

122

11

45

111

33

133

133

44

177

144

Result: 133 people saw the letter, and 33 of them sent it out.

Explore the full course: Coding For Placement

Loading lesson…