OFFSET
0,3
COMMENTS
This sequence can be seen as an analog of A056539 for the base 3.
For any n>=0, n and a(n) have the same number of digits in base 3.
LINKS
EXAMPLE
The first terms for which n<>a(n) are:
Decimal: Base 3:
n a(n) n a(n)
- ---- --- ----
9 12 100 110
12 9 110 100
14 17 112 122
17 14 122 112
18 24 200 220
22 25 211 221
24 18 220 200
25 22 221 211
27 39 1000 1110
31 37 1011 1101
35 38 1022 1102
37 31 1101 1011
38 35 1102 1022
39 27 1110 1000
41 53 1112 1222
42 45 1120 1200
CROSSREFS
KEYWORD
AUTHOR
Rémy Sigrist, Apr 28 2017
STATUS
approved