OFFSET
1,2
COMMENTS
Similar to A005151 but uses base 3: Let a(1)=1. Describing a(1) as "one 1" again gives a(2)=11 (same digit string as A005151 and similar sequences). Likewise, a(3) and a(4) have same digit strings as all but the binary sequence, but describing a(4) as "three 1's, one 2" gives a(5)=10112 when the frequency of digit occurrence is written in ternary and followed by the digit counted.
FORMULA
a(n) = 1011122 for all n >= 8 (see example).
EXAMPLE
Summarizing a(8) = 1011122 in increasing digit order, there are "one 0, four 1's, two 2s", so concatenating 1 0 11 1 2 2 gives a(9) = 1011122 (=a(10)=a(11)=...).
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Rick L. Shepherd, Aug 29 2004
STATUS
approved