Sqaure will have number "2" in standard notation.
1. You can use log10=1, so any 10 can be treated as 10 or 1. This makes it easy.
2. You can also use sqrt which in standard notation does not have 2. We then have int(sqrt(10))=3, or floor(sqrt(10))=3 and ceiling(sqrt(10))=4. This means that any 10 can be changed to 3 or 4. This makes it easy.
3. You can also use natural log similar to the above like int(ln(10))=2, and ceiling(ln(10))=3. This means that any 10 can be changed to 2 or 3. And you know the rest:)