A089604 "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).
0, 1, 2, 11, 12, 21, 22, 31, 112, 121, 122, 131, 212, 213, 222, 231, 312, 321, 1122, 1131, 1212, 1221, 1222, 1231, 1312, 1321, 2122, 2131, 2212, 2221, 2222, 2231, 2312, 2321, 3122, 3131, 3212, 3221, 11222
Offset: 0
Extensions
Edited by Charles R Greathouse IV, Aug 03 2010
Comments