Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A093476
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A093476 Index of occurrence of the first 0-bit in binary representation of 3^n. +0
1
2, 3, 2, 5, 2, 2, 3, 2, 4, 2, 2, 3, 2, 3, 2, 5, 2, 2, 3, 2, 4, 2, 2, 3, 2, 3, 2, 6, 2, 2, 3, 2, 4, 2, 2, 3, 2, 4, 2, 7, 2, 2, 3, 2, 5, 2, 2, 3, 2, 4, 2, 2, 3, 2, 3, 2, 5, 2, 2, 3, 2, 4, 2, 2, 3, 2, 3, 2, 5, 2, 2, 3, 2, 4, 2, 2, 3, 2, 3, 2, 6, 2, 2, 3, 2, 4, 2, 2, 3, 2, 4, 2, 7, 2, 2, 3, 2, 5, 2, 2, 3, 2, 4, 2, 2 (list; graph; listen)
OFFSET

2,1

FORMULA

It seems that sum(i=2, n, a(i)) is asymptotic to c*n with c=2.7(8).....

EXAMPLE

In binary 3^5=[1, 1, 1, 1, 0, 0, 1, 1] where the first 0 occurs at 5-th place. Hence a(5)=5.

PROGRAM

(PARI) a(n)=if(n<2, 0, s=1; while(component(binary(3^n), s)>0, s++); s)

CROSSREFS

Cf. A011754.

Sequence in context: A124386 A098668 A112763 this_sequence A066727 A076606 A056927

Adjacent sequences: A093473 A093474 A093475 this_sequence A093477 A093478 A093479

KEYWORD

nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), May 22 2004

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 1 13:27 EST 2009. Contains 167806 sequences.


AT&T Labs Research