>>94
L-1=[log(x)]
logN={log(x)}

L=1+[log(x)]
N=10^{log(x)}