%I A112952
%S A112952 0,0,1,0,0,11,10,10,1,0,0,1,0,0,111,110,110,101,100,100,101,100,100,11,
%T A112952 10,10,1,0,0,1,0,0,11,10,10,1,0,0,1,0,0,1111,1110,1110,1101,1100,1100,
%U A112952 1101,1100,1100,1011,1010,1010,1001,1000,1000,1001,1000,1000,1011,1010
%N A112952 Smaller of two ternary (base 3) numbers (each using only 0's and 1's,
the latter's positions never coinciding) such that the decimal representation
of their difference is n.
%C A112952 Base 3 representation of A060373. For the larger number see A112867.
Any number is expressible as a unique combination of powers of 3
in the form +/- 3^0 +/- 3^1 +/- 3^2 +/- 3^3 ...(Related to Bachet's
Weight Problem).
%Y A112952 Sequence in context: A023453 A055122 A004452 this_sequence A070561 A059941
A086100
%Y A112952 Adjacent sequences: A112949 A112950 A112951 this_sequence A112953 A112954
A112955
%K A112952 nonn
%O A112952 0,6
%A A112952 Lekraj Beedassy (blekraj(AT)yahoo.com), Jan 12 2006
|