OFFSET
1,2
COMMENTS
Equally, the row index of n in A254051.
a(n) is the 3-adic valuation of A087289(n-1). - Fred Daniel Kline, Jan 11 2017
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..9842
FORMULA
a(3n) = 1, a(3n+1) = 1, a(3n+2) = 1 + a(n+1).
a(n) = A253786(n) + 1.
a(n) = A253786(3n-1). - Cyril Damamme, Aug 04 2015
a(n) = A051064(2n-1), i.e., the 3-adic valuation of 6n-3. - Cyril Damamme, Aug 04 2015
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = 3/2. - Amiram Eldar, Nov 16 2023
MATHEMATICA
With[{nmax=200}, IntegerExponent[6Range[nmax]-3, 3]] (* Paolo Xausa, Nov 10 2023 *)
PROG
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Antti Karttunen, Jan 24 2015
STATUS
approved