The answer is loglog2nn. I can't think of any way to simplify this more.