Let AAA be the n×nn \times nn×n matrix, whose (i,j)(i,j)(i,j)th entry is i+ji + ji+j for all i,j=1,2,…,ni, j = 1, 2, \dots, ni,j=1,2,…,n. What is the rank of AAA?
Hidden so you can work on the problem first.