OFFSET
1,3
COMMENTS
All terms belong to A005836.
If m is a term, then 3*m is also a term (in particular, all powers of 3 appear in the sequence).
The representation of the 1's in the ternary expansion of consecutive terms has interesting features (see illustration in Links section).
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..2500
Rémy Sigrist, Binary plot of (n, A289831(a(n))) for n = 1..255 (representation of the 1's in the ternary expansion of the first 255 terms)
Rémy Sigrist, PARI program for A345359
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Jun 16 2021
STATUS
approved