Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A004758
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A004758 Binary expansion starts 110. +0
8
6, 12, 13, 24, 25, 26, 27, 48, 49, 50, 51, 52, 53, 54, 55, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213 (list; graph; listen)
OFFSET

1,1

FORMULA

a(2n) = 2a(n), a(2n+1) = 2a(n) + 1 + 5[n==0].

a(n) = n + 5 * 2^floor(log2(n)) = A004757(n) + A053644(n).

EXAMPLE

26 in binary is 11010, so 26 is in sequence.

PROGRAM

(PARI) a(n)=n+5*2^floor(log(n)/log(2))

CROSSREFS

Cf. A004754 (10), A004755 (11), A004756 (100), A004757 (101), A004759 (111).

Cf. A004760, A053644, A062050, A076877.

Adjacent sequences: A004755 A004756 A004757 this_sequence A004759 A004760 A004761

Sequence in context: A028588 A004749 A107687 this_sequence A055051 A143957 A105115

KEYWORD

nonn

AUTHOR

njas

EXTENSIONS

Edited by Ralf Stephan (ralf(AT)ark.in-berlin.de), Oct 12 2003

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 October 9 14:06 EDT 2008. Contains 144831 sequences.


AT&T Labs Research