0,7

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

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.

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

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

nonn

Antti Karttunen, Feb 14 2015

approved