%I #5 Apr 06 2020 00:21:40
%S 210,210210,212010,212100,221010,221100,210210210,210212010,210212100,
%T 210221010,210221100,212010210,212012010,212012100,212021010,
%U 212021100,212100210,212102010,212102100,212120010,212120100,212121000,212201010
%N Ternary numbers with equal numbers of 0's, 1's and 2's and such that read left-to-right at all times the number of 2's >= number of 1's >= number of 0's.
%C A005789(n) counts the terms here with 3n ternary digits.
%Y Cf. A005789, A063171, A000108.
%K base,nonn
%O 1,1
%A _Rick L. Shepherd_, Oct 14 2007