log3 12=log3 3*2^2=log3 3+log3 2^2=1+2*log3 2=a
log3 2=(a-1)/2
log3 24=log3 2+log3 12=(a-1)/2+a=(3a-1)/2