You are viewing a single comment's thread. Return to all comments →
My one-line Python3 code was nearly identical but without //1.
//1
def strangeCounter(t): return 6 * 2**int(math.log2( (t+2)/3 )) - (t+2)
Strange Counter
You are viewing a single comment's thread. Return to all comments →
My one-line Python3 code was nearly identical but without
//1
.