Diagram # # of squares Pattern for

1 1 Cal.# unit sq.
1^2+0^2
2 5 2^+1^2
3 13 3^2+2^2
4 ? ?
10 ? ?
? 421 ?

Just need to know how to come up with the pattern?