01 02 03 04 05
for (long i = N; i > 0; i = i/2) { for (long j = N; j > i; j = j-1) { result = result+1; } }
Choices: