OFFSET
1,2
COMMENTS
a(k) is found by counting the frequency of the digits in terms a(k-1) and a(k-2). Digits with zero frequency are not counted.
At n=54 the sequence enters a cycle of 46 terms so that for n>=100 we have a(k) = a(k-46). - Lars Blomberg, Jan 04 2014
LINKS
Lars Blomberg, Table of n, a(n) for n = 1..145 containing the beginning and two full cycles.
EXAMPLE
For n=5, a(5) is found by counting the frequency of the digits in the last two terms; there are three 1s and three 3s, so you get "three one three three", or 3133.
CROSSREFS
KEYWORD
nonn,base,easy,changed
AUTHOR
Edison Y. He, Sep 14 2013
EXTENSIONS
Corrected a(8)-a(15), added a(16)-a(20) by Lars Blomberg, Jan 04 2014
STATUS
approved