n=2
0110
1111
n=3
0011100
0111110
1111111
n=4
0001111000
0011111100
0111111110
1111111111
n=5
0000111110000
0001111111000
0011111111100
0111111111110
1111111111111
P(n) = ( n+2(n+(-1)) )·n+(-1)(n+(-1))·n
P(n) = n( 2n+(-1) ) = 2n^{2}+(-n)
P(0) = 0
P(1/2) = 0
P(2) = 6
P(3) = 15
P(4) = 28
P(5) = 45
No hay comentarios:
Publicar un comentario