• + 0 comments

    return 6 * (2 ** math.floor(math.log2(1 + (t - 1) / 3))) - 2 - t