A284581 a(n) = n minus (carryless base-2 product of run lengths in binary representation of n) = n - A284579(n).
0, 1, 1, 2, 4, 4, 4, 5, 7, 9, 9, 8, 11, 11, 11, 12, 14, 16, 15, 18, 20, 20, 20, 18, 21, 24, 23, 22, 26, 26, 26, 27, 29, 31, 29, 32, 35, 34, 33, 37, 39, 41, 41, 40, 43, 43, 43, 40, 43, 46, 43, 48, 51, 50, 49, 51, 51, 55, 53, 52, 57, 57, 57, 58, 60, 62, 59, 62, 66, 64, 66, 66, 69, 72, 71, 68, 73, 72, 71, 76, 78, 80, 79, 82, 84, 84, 84, 82, 85, 88, 87, 86
Offset: 1
Links
Crossrefs
Formula
a(n) = n - A284579(n).