Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A070941
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A070941 Length of binary representation of 2n+1. +0
6
1, 2, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8 (list; graph; listen)
OFFSET

0,2

COMMENT

Sequence consists of A011782(n) n+1's - Jon Perry (perry(AT)globalnet.co.uk), Apr 04 2004

For n>0: a(n) = A003314(n+1)-A003314(n) = A123753(n)-A123753(n-1). - Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Oct 12 2006

LINKS

Index entries for sequences related to binary expansion of n

FORMULA

Let b(1)=1, b(n)=a(n-floor(n/2))+1, then a(n)=b(n+1). - Benoit Cloitre (benoit7848c(AT)orange.fr), Oct 23 2002

G.f.: 1/(1-x) * (1 + Sum(k>=0, x^2^k)). - Ralf Stephan (ralf(AT)ark.in-berlin.de), Apr 15 2002

a(n) = ceil(log_2(n+1))+1 = A029837(n+1)+1. - Ralf Stephan (ralf(AT)ark.in-berlin.de), Apr 15 2002

a(n)=ceil(average of previous entries)+1 - Jon Perry (perry(AT)globalnet.co.uk), Apr 04 2004

PROGRAM

(PARI) a(n)=length(binary(2*n+1))

CROSSREFS

Bisection of A070939 and also of A070940.

Sequence in context: A132983 A029133 A029128 this_sequence A061775 A080604 A029118

Adjacent sequences: A070938 A070939 A070940 this_sequence A070942 A070943 A070944

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), May 18 2002

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 November 23 17:09 EST 2009. Contains 167438 sequences.


AT&T Labs Research