%N Sum of parts of the form 10...0 and 20...0 with nonnegative number of zeros in ternary representation of n as the corresponding numbers 3^n and 2*3^n.
%C The number of appearances of k is the number of compositions of k into numbers of the form 3^n and 2*3^n, A235684(k).
%H Alois P. Heinz, <a href="/A235669/b235669.txt">Table of n, a(n) for n = 0..10000</a>
%t bitPatt[n_,b_]:=Split[IntegerDigits[n,b ],#2==0&]; Map[Plus@@Map[FromDigits[#,3]&,bitPatt[#,3]]&,Range[0,50]] (* _Peter J. C. Moses_, Jan 13 2014 *)
%Y Cf. A124771, A162439, A233249, A233312, A233416, A233420, A233564, A233569, A233655.
%A _Vladimir Shevelev_, Jan 13 2014