login
A030353
Write 2n-1 in base 3 and juxtapose.
9
1, 1, 0, 1, 2, 2, 1, 1, 0, 0, 1, 0, 2, 1, 1, 1, 1, 2, 0, 1, 2, 2, 2, 0, 1, 2, 1, 0, 2, 1, 2, 2, 2, 1, 1, 0, 0, 0, 1, 0, 0, 2, 1, 0, 1, 1, 1, 0, 2, 0, 1, 0, 2, 2, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 0, 0, 1, 2, 0, 2, 1, 2, 1, 1, 1, 2, 2, 0, 1, 2, 2, 2
OFFSET
1,5
EXAMPLE
1,
1,0,
1,2,
2,1,
1,0,0,
1,0,2,
1,1,1,
1,2,0,
1,2,2,
2,0,1,... R. J. Mathar, Aug 16 2021
MATHEMATICA
Flatten[Table[IntegerDigits[n, 3], {n, 1, 101, 2}]] (* Harvey P. Dale, Mar 05 2023 *)
CROSSREFS
Cf. A003137.
Sequence in context: A370167 A046751 A124478 * A089617 A359217 A359216
KEYWORD
nonn,base
STATUS
approved