login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A081604 String-length of ternary representation of n. 19
1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5 (list; graph; refs; listen; history; internal format)
OFFSET

0,4

COMMENTS

a(n)=A077267(n)+A062756(n)+A081603(n);

for n>0: a(n)=A062153(n)+1.

0<=A134021(n)-a(n)<=1; a(A134025(n))=A134021(A134025(n)); a(A134026(n))=A134021(A134026(n))-1. - Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Oct 19 2007

LINKS

R. Zumkeller, Table of n, a(n) for n = 0..10000

Eric Weisstein's World of Mathematics, Ternary.

FORMULA

a(n+1)=-sum(k=1..n,mu(3k)floor(n/k)) [From Benoit Cloitre (benoit7848c(AT)orange.fr), Oct 21 2009]

CROSSREFS

Cf. A007089.

Cf. A080342. [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Sep 17 2008]

Sequence in context: A109038 A185679 A080342 * A123119 A099396 A126235

Adjacent sequences:  A081601 A081602 A081603 * A081605 A081606 A081607

KEYWORD

nonn,base

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Mar 23 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 02:08 EST 2012. Contains 205978 sequences.