how can i get the following figure using the for loop

enter image description here

how can i get the following figure using the for loop.

n=5 For[i=1,i<5,i++,For[j=1,j<n,j++,A=(i+j)]] A//MatrixForm 

The code I found is above but not working.where is the mistake?