%I #5 Mar 30 2012 18:50:58
%S 1,1,1,1,3,1,4,1,1,1,6,1,1,8,8,9,9,1,10,1,11,12,12,1,13,1,1,1,15,1,1,
%T 17,17,18,18,1,1,20,1,1,21,22,22,23,23,24,24,25,25,26,26,27,27,1,28,1,
%U 29,30,30,1,31,1,32,33,33,34,34,35,35,36,36,1,37,1,38,39,39,1,40,1,1,1,42
%N Number of partitions of n into positive digit values of its ternary representation.
%C a(A125292(n))=1; a(A125293(n))=floor((n+2)/2)=A008619(n).
%H R. Zumkeller, <a href="/A125291/b125291.txt">Table of n, a(n) for n = 1..10000</a>
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/Ternary.html">Ternary</a>
%F a(n) = 1 + floor(n/2) * (1 - 0^(A062756(n)*A081603(n))).
%Y Cf. A007089, A061827.
%K nonn,base
%O 1,5
%A _Reinhard Zumkeller_, Nov 26 2006