login
A283972
a(n) = n minus (product of lengths of 1-runs in binary representation of n) = n - A227349(n).
4
0, 1, 1, 3, 4, 4, 4, 7, 8, 9, 9, 10, 11, 11, 11, 15, 16, 17, 17, 19, 20, 20, 20, 22, 23, 24, 23, 25, 26, 26, 26, 31, 32, 33, 33, 35, 36, 36, 36, 39, 40, 41, 41, 42, 43, 43, 43, 46, 47, 48, 47, 50, 51, 50, 49, 53, 54, 55, 53, 56, 57, 57, 57, 63, 64, 65, 65, 67, 68, 68, 68, 71, 72, 73, 73, 74, 75, 75, 75, 79, 80, 81, 81, 83, 84, 84, 84, 86, 87, 88, 87, 89
OFFSET
1,4
FORMULA
a(n) = n - A227349(n).
PROG
(Scheme) (define (A283972 n) (- n (A227349 n)))
CROSSREFS
Cf. A227349.
Cf. A227190, A284560, A284581 for similar sequences.
Sequence in context: A352717 A359807 A259884 * A213509 A112180 A058559
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Apr 14 2017
STATUS
approved