[转载]The Golomb Sequence

-The Golomb sequence is defined by  G(n) = the number of times n appears , assuming  G(1) = 1
-"GOL" uses the recursive formula G(n) = 1 + G(n-G(G(n-1)))   ( n>1 )