Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 4500 articles have referenced us, often saying "we would not have discovered this result without the OEIS".
1,2
Table of n, a(n) for n=1..61.
Klaus Brockhaus, Illustration of A080278 and A080333
a(n) = Sum_{k=0..log_3(n)} 3^k*floor(n/3^k).
a(3^k) = (k+1)*3^k.
a(n) is conjectured to be asymptotic to n*log(n)/log(3). - Klaus Brockhaus, Mar 23 2003
a(n)=n+3*a(floor(n/3)), a(0)=0. - Vladeta Jovovic, Aug 06 2003
Cf. A080277.
Sequence in context: A031198 A201819 A047240 * A194369 A039592 A037454
Adjacent sequences: A080330 A080331 A080332 * A080334 A080335 A080336
nonn
N. J. A. Sloane, Mar 19 2003
approved