## How Big Is This Number? Answered

My little question about just how big a number was got answered just exactly right by John Friedrich, so if you wondered about how I could say a number took about seven million digits just to write out, there’s your answer. Friedrich gives it as a number with 6,846,169 digits, and I agree. Better, the calculator I found which was able to handle this (MatCalcLite, a free calculator app I have on my iPad) agrees too: it claims that is about which has that magic 6,846,169 digits.

Friedrich uses logarithms to work it out, and this is one of the things logarithms are good for in these days when you don’t generally need them to do multiplications and divisions. You can look at logarithms as letting you evaluate the lengths of numbers — how many digits they need to work out — rather than the numbers themselves, and this brings to the field of accessibility numbers that would otherwise be too big to work with, even on the calculator. (Another thing logarithms are good for is that they’re quite nice to work with if you have to do calculus, so once you’re comfortable with them, you start looking for chances to slip them into analysis.)

One nagging little point about Friedrich’s work, though, is that you need to know the logarithm of 3 to work it out. (Also you need the logarithm of 10, or you could try using the common logarithm — the logarithm base ten — of 3 instead.) For finding the actual number that’s fine; trying to get this answer with any precision without looking up the logarithm of 3 is quirky if not crazy.

But what if you want to do this purely by the joys of mental arithmetic? Could you work out without finding a table of logarithms? Obviously you can’t if you want a really precise answer, and here counts as precise, but could you at least get a good idea of how big a number it is?

## fluffy 7:09 pm

onWednesday, 5 June, 2013 Permalink |The UNIX ‘bc’ tool can actually calculate it directly. I don’t think your comment form can accept a 7MB post, however.

LikeLike

## John Friedrich 12:39 am

onThursday, 6 June, 2013 Permalink |3^21 = 10460353203, which you can round off to 10,000,000,000 or 10^10. So 3^(21n) is roughly equal to 10^(10n).

21n = 3^15 gives n = 3^15 / 21 = 3^14 / 7 = 683281.285714, 10n = 6832812.85714, and the approximate number of digits is 6,832,813, which is off by about 0.2%.

If you just want an order of magnitude and don’t want to use a calculator, you can approximate 3^2 as roughly equal to 10^1, 3^(2n) is roughly equal to 10^n, n = 3^15 / 2 = 243 ^ 3 / 2 = 14,348,907 / 2 = 7174453.5, which is off by about 5%.

LikeLike

## John Friedrich 12:40 am

onThursday, 6 June, 2013 Permalink |Oops, forgot to add 1 to n at the end there to make it the correct number of digits, hardly affects the outcome though.

LikeLike