I have a $k$-sized vector $(x_1,x_2, \ldots, x_k)$ where each $x_i$ has been drawn randomly from $\mathbb{Z}/n\mathbb{Z}$.
What is the average number of vectors ($\in \mathbb{Z}^k_n$) orthogonal to it?
If I have such a concrete vector, with $k=4$ and $n=5$, for instance $(2,0,4,1)$, How can I compute the number of orthogonal vectors to it?
Thank you.