1 of 7

Output diagonal positions of me squared

Input: a number n.

Output: A list or print to output which values are separated by a char different from new-line of all positions of diagonals of n^2.

#Examples:

1
X
1

2
\/
/\
1 2 3 4

3
\#/
#X#
/#\
1 3 5 7 9

4
\##/
#\/#
#/\#
/##\
1 4 6 7 10 11 13 16

5
\###/
#\#/#
##X##
#/#\#
/###\  
1 5 7 9 13 17 19 21 25

There will be no accepted answer. I want to know the shortest code for each language.