login
A232779
Sum of iterated logs; a(n) = 0 if n = 0; otherwise n + a(floor(log_2(n))).
1
0, 1, 3, 4, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68
OFFSET
0,3
EXAMPLE
a(5) = 5 + a(2) = 5 + 2 + a(1) = 5 + 2 + 1 + a(0) = 8.
CROSSREFS
Cf. A216761.
Sequence in context: A104426 A097044 A198330 * A086986 A346126 A057811
KEYWORD
nonn
AUTHOR
Jeffrey Shallit, Nov 30 2013
STATUS
approved