Enclose your code in [ code] [/ code] tags makes it a lot more readable (not so bad in this case, but helps if you have a lot of important indenting.)
Code:
#!/bin/bash
ch[1]=0
ch[2]=0
ch[3]=0
ch[4]=0
ch[5]=0
for i in $(seq 5); do
for j in $(seq 5); do
ch[$i]=$((${ch[$i]} + $j))
echo "i: $i, j: $j, ch[\$i]: ${ch[$i]}"
done
done
This code should explain it fairly well.
edit: The ABS has a lot of good information on using arrays in bash and the specifics of how to reference them:
http://tldp.org/LDP/abs/html/arrays.html