Recursion Warmup - Tower Numbers

What is the next number in this sequence? (There are no hidden cubes.)

0 , 1 , 3 , 6 , 10 , 15... 0, 1, 3, 6, 10, 15...

21 18 20 25

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.

6 solutions

This is the formation of triangles in the outside layer of a triangle, it means the blocks must increased by 1 1 in every layer. To the 5 t h 5^{th} row, the blocks are 15 + ( 1 × 5 ) + 1 = 21 \displaystyle 15+(1\times 5)+1 = \boxed{21}

15 15 is the 5 t h 5^{th} row, and 1 × 5 1\times 5 is the blocks increased each row times the row, plus 1 1 to get the sixth layer.

Chris Galanis
Aug 31, 2015

Those terms of the sequence (except the 0 0 ) look like the 3rd pair of diagonals (moving inwards) of the pascal's triangle. Those numbers are called triangular numbers and they can be generated by the formula: T n = ( n + 1 2 ) \Large{T_n = \binom{n + 1}{2}}

Hence for n = 6 \large{n = 6} we got: ( n + 1 2 ) = n ( n + 1 ) 2 = 6 7 2 = 21 \Large{\binom{n + 1}{2} = \frac{n\cdot (n + 1)}{2} = \frac{6\cdot 7}{2} = \boxed{21}}

Santiago Hincapie
Aug 19, 2015

The base of the shape are the key, Let's be n the number of cube in the base, then in the next "floor" would be n-1 cube and so recursively, then the function than represent the number of cube in the shape are i = 1 n i \sum_{i=1}^{n} i ; now from n=6 the answer are 21

Patrick Prochazka
Aug 31, 2015

1+2=3, 1+2+3=6,...,1+2+3+4+5+6=21.

Hadia Qadir
Aug 31, 2015

1+2+3+4+5=15; 15+6=21

Johnny J
Aug 31, 2015

n 1=1, n (i>1)=i^2-n_(i-1),i ⊂ N

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...