Hello,
What line of codes would work to make the following derivation(with the exact order):
int y[i][j];
y[0][0]=0
y[1][0]=0+4
y[2][0]=0+16
y[2][1]=0+4+16
y[3][0]=0+64
y[3][1]=0+4+64
y[3][2]=0+16+64
y[3][3]=0+4+16+64
y[4][0]=0+256
y[4][1]=0+4+256
y[4][2]=0+16+256
y[4][3]=0+4+16+256
y[4][4]=0+64+256
y[4][5]=0+4+64+256
y[4][6]=0+16+64+256
y[4][7]=0+4+16+64+256
...
..
.
See the pattern? it keep adding itself for every increase in 'i'.
Help?