Problem 340

Golomb's self-describing sequence

Problem 342

Golomb's self-describing sequence

Problem 341

The Golomb's self-describing sequence is the only nondecreasing sequence of natural numbers such that appears exactly times in the sequence. The values of for the first few are
\[\begin{matrix}n & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 10 & 11 & 12 & 13 & 14 & 15 & \ldots \\G(n) & 1 & 2 & 2 & 3 & 3 & 4 & 4 & 4 & 5 & 5 & 5 & 6 & 6 & 6 & 6 & \ldots\end{matrix}\]
You are given that , .
You are also given that
for .
Find for .