%I #4 Mar 30 2012 18:56:18
%S 1,2,3,5,1,9,2,8,15,3,21,20,5,6,33,1,7,42,34,9,2,23,11,8,13,40,69,15,
%T 77,81,3,89,93,21,101,76,24,20,87,27,5,129,30,6,141,33,47,1,36,31,7,
%U 12,39,177,142,42,95,131,34,201,9,48,14,2,51,23
%N a(n)=least k such that base 3 representation of n begins as s(k), where s=A003137.
%K nonn
%O 1,2
%A _Clark Kimberling_