Concatenating Pascal's Triangle

Calculus Level 5

Consider

the following sequence ( A003590 ): 1 , 11 , 121 , 1331 , 14641 , 15101051 , 1615201561 , 1, 11, 121, 1331, 14641, 15101051, 1615201561, \ldots

where the n th n^\text{th} term is the concatenation of all integers in the n th n^\text{th} row of the Pascal's Triangle in that order, beginning with n = 0 n=0 .

Let L n L_n be the number of digits in the n th n^\text{th} term of this sequence.

Compute lim n exp ( n 2 L n ) \displaystyle \lim_{n\to\infty}\exp\left(\frac{n^2}{L_n}\right) .

Notation : exp ( x ) \exp(x) denotes the exponential function, exp ( x ) = e x \exp(x) = e^x .


Image Credit: N. J. A. Sloane


The answer is 100.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Michael Mendrin
Feb 9, 2016

If the apex of Pascal’s Triangle is the 0 0 th row, then the k k th element of the n t h nth row of same can be expressed as

( n k ) = n ! k ! ( n k ) ! \left( \begin{matrix} n \\ k \end{matrix} \right) =\dfrac { n! }{ k!(n-k)! }

where k k ranges from 0 0 to n n

The number of digits of any large integer p p is approximately

L o g ( p ) L o g ( 10 ) \dfrac { Log\left( p \right) }{ Log\left( 10 \right) }

The sum of the digits of all the elements of the n n th row then is approximately

k = 0 n L o g ( ( n k ) ) L o g ( 10 ) \displaystyle \sum _{ k=0 }^{ n }{ \frac { Log\left( \left( \begin{matrix} n \\ k \end{matrix} \right) \right) }{ Log\left( 10 \right) } }

1 L o g ( 10 ) k = 0 n L o g ( ( n k ) ) \dfrac { 1 }{ Log\left( 10 \right) }\displaystyle \sum _{ k=0 }^{ n }{ Log\left( \left( \begin{matrix} n \\ k \end{matrix} \right) \right) }

L n = 1 L o g ( 10 ) L o g ( k = 0 n ( n k ) ) { L }_{ n }=\dfrac { 1 }{ Log\left( 10 \right) } Log\left(\displaystyle \prod _{ k=0 }^{ n }{ \left( \begin{matrix} n \\ k \end{matrix} \right) } \right)

Thus we have

e n 2 L n = 10 n 2 L o g ( P ) \large { e }^{ \frac { { n }^{ 2 } }{ { L }_{ n } } }=\large { 10 }^{ \frac { { n }^{ 2 } }{ Log\left( P \right) } }

where P P is the product of all the elements of the n n th row. If

Q = P 1 n 2 Q=\large { P }^{ \frac { 1 }{ { n }^{ 2 } } }

this becomes

10 1 L o g ( Q ) \large { 10 }^{ \frac { 1 }{ Log\left( Q \right) } }

To find the limiting value as n n\rightarrow \infty , we start with P P , which is equal to all of the following expressions

k = 0 n n ! k ! ( n k ) ! \displaystyle \prod _{ k=0 }^{ n }{ \dfrac { n! }{ k!\left( n-k \right) ! } }

( n ! ) n + 1 k = 0 n 1 k ! ( n k ) ! { \left( n! \right) }^{ n+1 }\displaystyle \prod _{ k=0 }^{ n }{ \dfrac { 1 }{ k!\left( n-k \right) ! } }

( n ! ) n + 1 ( k = 1 n k ! ) 2 { \left( n! \right) }^{ n+1 }{ \left(\displaystyle \prod _{ k=1 }^{ n }{ k! } \right) }^{ -2 }

( k = 1 n k n + 1 k ! ) ( k = 1 n k ! ) 1 \left(\displaystyle \prod _{ k=1 }^{ n }{ \dfrac { { k }^{ n+1 } }{ k! } } \right) { \left(\displaystyle \prod _{ k=1 }^{ n }{ k! } \right) }^{ -1 }

( k = 1 n k k ) ( k = 1 n k ! ) 1 \left(\displaystyle \prod _{ k=1 }^{ n }{ { k }^{ k } } \right) { \left(\displaystyle \prod _{ k=1 }^{ n }{ k! } \right) }^{ -1 }

Because they all equal the same value P P , from the 3 3 rd and 5 5 th expressions we have the following

P = ( n ! ) ( n + 1 ) ( k = 1 n k k ) 2 P={ \left( n! \right) }^{ -\left( n+1 \right) }{ \left( \displaystyle \prod _{ k=1 }^{ n }{ { k }^{ k } } \right) }^{ 2 }

The product in this expression is the HyperFactorial, which has the asymptotic value for large n n

k = 1 n k k A n 1 2 n ( n + 1 ) + 1 12 e n 2 4 \displaystyle \prod _{ k=1 }^{ n }{ { k }^{ k } } \sim A\cdot { n }^{ \frac { 1 }{ 2 } n\left( n+1 \right) +\frac { 1 }{ 12 } }\cdot { e }^{ -\frac { { n }^{ 2 } }{ 4 } }

where A = 1.28242712 A=1.28242712… is the Glaisher-Kinkelin Constant

Along with this, we use Stirling’s Approximation to write out Q = P 1 n 2 Q={ P }^{ \frac { 1 }{ { n }^{ 2 } } } in full

( ( 2 π n ( n e ) n ) ( n + 1 ) ( A n 1 2 n ( n + 1 ) + 1 12 e n 2 4 ) 2 ) 1 n 2 { \left( { \left( \sqrt { 2\pi n } { \left( \frac { n }{ e } \right) }^{ n } \right) }^{ -\left( n+1 \right) }{ \left( A\cdot { n }^{ \frac { 1 }{ 2 } n\left( n+1 \right) +\frac { 1 }{ 12 } }\cdot { e }^{ -\frac { { n }^{ 2 } }{ 4 } } \right) }^{ 2 } \right) }^{ \frac { 1 }{ { n }^{ 2 } } }

The limiting value of this expression as n n\rightarrow \infty is Q = e Q=\sqrt{e} . \; We then compute the final answer

10 1 L o g ( Q ) = 100 \large { 10 }^{ \frac { 1 }{ Log\left( Q \right) } }=100

Moderator note:

Playing devils advocate, we have to be careful with the calculation for the number of digits, as we only have an under-estimate.

Furthermore, even if f n g n f_n \sim g_n , it does not imply that e f n e g n e ^ { f_n} \sim e ^ { g_n} .

awesome solution!

Hamza A - 5 years, 4 months ago

Playing devils advocate, we have to be careful with the calculation for the number of digits, as we only have an under-estimate.

Furthermore, even if f n g n f_n \sim g_n , it does not imply that e f n e g n e ^ { f_n} \sim e ^ { g_n} .

Calvin Lin Staff - 5 years, 3 months ago

Log in to reply

I'll get back to you about the matter of the need for a very good approximation of number of digits of a number a bit later, as that is really the crux of the problem. However, I'm not sure what you refer to in your 2nd comment. The problem asks for the limiting value of e f n {e}^{{f}_{n}} , and if that f n {f}_{n} has a definite finite limit as n n\rightarrow \infty , then shouldn't e f n {e}^{{f}_{n}} be the correct result? For example, suppose f n = 0 {f}_{n}=0 as a limiting value, then shouldn't this be true, e f n = 1 {e}^{{f}_{n}}=1 ?

Let's say we have the plot of the exponential function e x {e}^{x} , and let f f and g g initially not necessarily have the exact same numerical value. Positive reals, to keep this simpler. We plot the points ( f , e f ) \left(f, {e}^{f}\right) and ( g , e g ) \left(g, {e}^{g}\right) . So, let g g approach f f in some kind of a limiting matter. When f , g f,g finally agree exactly, then e f , e g {e}^{f}, {e}^{g} agree exactly also. This works because the exponential function is a continuous, differentiable function.

Indeed, the core of the problem is the asymptotic behavior the number of digits in a row of Pascal's Triangle. The use of the exponential is a way of expressing that asymptotic behavior, which is related to the fact it's expressed in decimal format. Had it been binary, then the answer would have been 4 4 --which corresponds with a considerable increase in digits.

Edit: Okay, for any positive integer p p , the number of digits n n it has is always

L o g ( p ) L o g ( 10 ) n L o g ( p ) L o g ( 10 ) + 1 \dfrac { Log\left( p \right) }{ Log\left( 10 \right) } \le n\le \dfrac { Log\left( p \right) }{ Log\left( 10 \right) } +1

so that the maximum error is n + 1 n+1 in the digit count of the n n th row of Pascal's Triangle. This n + 1 n+1 should then be added or subtracted from P P in the solution give above, which will turn out to have no affect on the result either way.

Michael Mendrin - 5 years, 3 months ago

Log in to reply

Hm, not sure what I meant by my second comment. The implication is true.

Right, to be pedantic, we have to chase down the effect of the + 1 + 1 . However, we only have n + 1 n+1 terms of these + 1 + 1 , but there is a n 2 n^2 term in the numerator, so the effect is negligible.

Calvin Lin Staff - 5 years, 3 months ago

Log in to reply

@Calvin Lin It's an important detail that's been left out in a "hand waving" part of the solution. But I was aware of the need for more than just a rough approximation of the number of digits, which leads to numerous other blind alleys with incorrect results.

Michael Mendrin - 5 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...