Help for this page
perl -wle 'print log(~$_&($_+1))/log 2 for 0..2**pop()-2' 3
perl -wle '$n=-1+2**pop;print log($n--&~$n)/log 2while$n' 3
By rote learning.
Via Genetic memory.
It's provided by my firmware.
I just remember them.
Thirty days hath September
My computer gets it right, usually.
I just ask someone else.
Someone punches me on the first of the month.
Results (105 votes),