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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A255070 (1/2)*(n minus number of runs in the binary expansion of n): a(n) = (n - A005811(n)) / 2 = A236840(n)/2. 7
0, 0, 0, 1, 1, 1, 2, 3, 3, 3, 3, 4, 5, 5, 6, 7, 7, 7, 7, 8, 8, 8, 9, 10, 11, 11, 11, 12, 13, 13, 14, 15, 15, 15, 15, 16, 16, 16, 17, 18, 18, 18, 18, 19, 20, 20, 21, 22, 23, 23, 23, 24, 24, 24, 25, 26, 27, 27, 27, 28, 29, 29, 30, 31, 31, 31, 31, 32, 32, 32, 33, 34, 34, 34, 34, 35 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,7

LINKS

Antti Karttunen, Table of n, a(n) for n = 0..8192

FORMULA

a(n) = A236840(n) / 2 = (n - A005811(n)) / 2.

Other identities:

a(A091067(n)) = n for all n >= 1.

a(A255068(n)) = n for all n >= 0.

PROG

(Scheme) (define (A255070 n) (/ (A236840 n) 2))

CROSSREFS

Least inverse: A091067 (also the positions of records).

Greatest inverse: A255068.

Run lengths: A106836.

Cf. A005811, A060833, A236840, A255054, A255056, A255072.

Sequence in context: A316355 A055768 A064952 * A176001 A194272 A285764

Adjacent sequences:  A255067 A255068 A255069 * A255071 A255072 A255073

KEYWORD

nonn

AUTHOR

Antti Karttunen, Feb 14 2015

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 21 15:27 EDT 2019. Contains 323444 sequences. (Running on oeis4.)