Copyright ©2003 Sophisticated: The Magazine. All rights reserved. |
|
s already mentioned, factorials get huge fast. Here are the first couple of dozen...
...and we already find ourselves in the sextillions. The most significant digits are distributed as follows (digit | quantity): ...and that bar-chart in the puzzle statement summarizes these distributions as percentages for the first 90 factorials. What that means is, in formulating Factorial Factoids, somebody had to look at the left-most ciphers in some mighty big integers -- integers capable of representing the number of sub-atomic particles in the known universe. Actually 90! can cope with gazillions of unknowable universes each corresponding to a sub-atomic particle in the known universe (huh?). ophisticated solvers will settle the matter concerning all factorials by proving that there is at least one value of n! which can indeed have a 9 as its most significant digit. If so, it must emerge from some previous factorial having a most significant digit that is not 9. Let (n - 1)! have a most significant digit m less than 9 such that, with s arbitrary decimal digits to the right of m; we can write… (n - 1)! = 10s m + x, where x can have any value between 0 and 10s - 1 (a string of s 9s).Multiplying the expression for (n – 1)! by n forms n! n! = n (n – 1)!As n increases, the number of decimal digits in n! will increase, such that there are s + t digits to the right of the most significant digit in n!, where t > 0. Now, to test the hypothesis, let the most significant digit of n! be 9, such that the following inequality holds: 10s m n + n x > 9 * 10s+t + n x ~~~ for a most significant digit of 9.Thus, it would seem that, contrary to the results of extensive observations, there must exist some values for m, n, and t that will satisfy that inequality. Well then, why did the person who created this puzzle not find any instances even after foozling factorials that reached sizes exceeding anything meaningful to people on earth? Hmm. Must have quit too soon.Guided by the formula above, we will start by letting t = 1, such that... m n > 90...then for m = 1, there must exist a value for n! that will indeed have a cipher 9 as its most significant digit -- it lives somewhere out there among the n! integers produced by n > 90. Now, the creator of this puzzle has already tested n! for n = 0, 1, 2,... 89. Thus it merely remains for us to test larger values of n, specifically n = 90, 91, 92,... Hey, and let's not quit too soon this time. Sure enough, for n = 96, we see that... 96! = 91,677,934,870,949,689,209,571,401,541,893,801,158,183,...about 10 quadecoctillion, one might say. Oh right, and the answer to the
question in the puzzle
therefore is…
|
|
|
|
|