We build triangle pyramids from N tennis balls, each with number of layers n = 1, 2, 3, or ... (The base of the pyramid is also a triangle.) The trivial pyramid with a single layer consists of a single ball. Two layers require four balls, while the three-layer pyramid requires ten balls.
What is the number N of balls required for the pyramid with n = 1 0 0 layers?
Hint: Find a polynomial N ( n ) that describes the number of balls as a function of the edge length n .
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.
If you number the layers of the pyramid from top to bottom, the l -th layer consists of a triangle with the edge length l . The triangle consists of l rows with a total number of m balls in each row, which ranges from 1 to l . The total number of balls thus results from the sum of all layers and rows N ( n ) = l = 1 ∑ n m = 1 ∑ l m In the case n ⋙ 1 we can approximate the double sum by an double integral: N ( n ) ≈ ∫ 0 n ( ∫ 0 l d m ) d l = 6 n 3 In general, the function N ( n ) is a polynomial with degree three: N ( n ) = 6 n 3 + b ⋅ n 2 + c ⋅ n The coefficient of the n 3 term could already be determined by the integral estimation. The coefficients b and c can be determined by cases n = 1 and n = 2 : ⇒ ⇒ ⇒ N ( 1 ) = 6 1 + b + c N ( 2 ) = 3 4 + 4 b + 2 c ( 1 4 1 2 ) ⋅ ( b c ) ( b c ) N ( n ) = 6 n 3 + 2 n 2 + 3 n = 1 = 4 = ( 5 / 6 8 / 3 ) = − 2 1 ( 2 − 4 − 1 1 ) ⋅ ( 5 / 6 8 / 3 ) = ( 1 / 2 1 / 3 ) That this formula holds for all n ∈ N , can be proved by complete induction. Suppose we have proved the validity of the formula for all numbers ranging from 1 to n . Now we calculate N ( n + 1 ) : N ( n + 1 ) = N ( n ) + m = 1 ∑ n + 1 m = ( 6 n 3 + 2 n 2 + 3 n ) + ( 2 ( n + 2 ) ( n + 1 ) ) = 6 n 3 + n 2 + 6 1 1 n + 1 = 6 n 3 + 3 n 2 + 3 n + 1 + 2 n 2 + 2 n + 1 + 3 n + 1 = 6 ( n + 1 ) 3 + 2 ( n + 1 ) 2 + 3 ( n + 1 ) □ Thereby, we used the sum formulo of Gauss: ∑ m = 1 n m = 2 1 ( n + 1 ) n
Can't you just evaluate N ( n ) = l = 1 ∑ n m = 1 ∑ l m = l = 1 ∑ n 2 l ( l + 1 ) = ⋯ using 1 + 2 + ⋯ + n = n ( n + 1 ) / 2 and 1 2 + 2 2 + ⋯ + n 2 = n ( n + 1 ) ( 2 n + 1 ) / 6 ?
Problem Loading...
Note Loading...
Set Loading...
The n th layer contains the amount of tennis balls equal to the n th triangle number, 2 n ( n + 1 ) . So, essentially, we're finding i = 1 ∑ 1 0 0 2 i ( i + 1 ) = 2 1 i = 1 ∑ 1 0 0 ( i 2 + i ) = 2 1 ( i = 1 ∑ 1 0 0 i 2 + i = 1 ∑ 1 0 0 i )
Now, ∑ i = 1 k i = 2 k ( k + 1 ) and ∑ i = 1 k i 2 = 6 k ( k + 1 ) ( 2 k + 1 ) , so the above expression equals = 2 1 ( 6 1 0 0 ( 1 0 0 + 1 ) ( 2 ⋅ 1 0 0 + 1 ) + 2 1 0 0 ( 1 0 0 + 1 ) ) = 1 7 1 7 0 0