next up previous contents
Next: Examples Up: Encoding a Phrase in Previous: Encoding a Phrase in   Contents

How Many Letters Can a Number ``Hold''?

If $ 27^k<n$, then $ k$ letters can be encoded in a number $ <n$. Put another way,

$\displaystyle k < \log(n) / \log(27) = \log_{27}(n).
$



William A Stein 2001-10-01