login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A098154 Summarize the previous term in ternary (in increasing order). 2

%I #3 Mar 30 2012 17:36:43

%S 1,11,21,1112,10112,1010112,2011112,1011122,1011122,1011122,1011122,

%T 1011122,1011122,1011122,1011122,1011122,1011122,1011122,1011122,

%U 1011122,1011122,1011122,1011122,1011122,1011122,1011122,1011122

%N Summarize the previous term in ternary (in increasing order).

%C 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.

%F a(n) = 1011122 for all n >= 8 (see example).

%e 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)=...).

%Y Cf. A098153 (binary), A098155 (base 4), A005151 (decimal and digit strings for all other bases b >= 5).

%K base,easy,nonn

%O 1,2

%A _Rick L. Shepherd_, Aug 29 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)