0,2

Table of n, a(n) for n=0..12.

For n = 2 the only strings omitted are 02 and 20.

Cf. A005598, which is the analogous sequence where "ternary" is replaced by "binary".

Cf. A274005, which is the analogous sequence where "ternary" is replaced by "binary" and "1" is replaced by "2".

Sequence in context: A170884 A182836 A097080 * A146742 A146425 A147595

Adjacent sequences: A274005 A274006 A274007 * A274009 A274010 A274011

nonn,more

Jeffrey Shallit, Jun 06 2016

approved