login
"3-lazy binary" representation of n: to increment, add one to the last digit, then "carry" the rightmost 3 (replace 03->11, 13->21, or 23->31).
1

%I #6 Feb 17 2015 20:24:10

%S 0,1,2,11,12,21,22,31,112,121,122,131,212,213,222,231,312,321,1122,

%T 1131,1212,1221,1222,1231,1312,1321,2122,2131,2212,2221,2222,2231,

%U 2312,2321,3122,3131,3212,3221,11222

%N "3-lazy binary" representation of n: to increment, add one to the last digit, then "carry" the rightmost 3 (replace 03->11, 13->21, or 23->31).

%C Obvious generalization of A089591 and A089600.

%K nonn,easy,base

%O 0,3

%A _Jeff Erickson_, Dec 31 2003

%E Edited by _Charles R Greathouse IV_, Aug 03 2010