login
A037080
In ternary expansion of n, reading from right to left, successive runs of the digits occur in order ...,0,1,2,0,1,2,...
1
0, 1, 2, 3, 4, 7, 8, 9, 11, 12, 13, 21, 22, 25, 26, 27, 29, 34, 35, 36, 38, 39, 40, 63, 65, 66, 67, 75, 76, 79, 80, 81, 83, 88, 89, 102, 103, 106, 107, 108, 110, 115, 116, 117, 119, 120, 121, 189, 191, 196, 197, 198, 200, 201, 202, 225, 227, 228, 229, 237, 238, 241
OFFSET
0,3
EXAMPLE
For example, any number whose ternary expansion is 11..100..02..211..11 passes the test.
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
EXTENSIONS
More terms from Erich Friedman
STATUS
approved