I have an equation of $XI = Y$, where I know $I$ (vector of 1s) and $Y$ (vector of positive integers). I want to find positive square matrix $X$, I also know that the diagonal entries of $X$ are all 0.
So example is $X$ is 3x3, $I$ is 3x1 and $Y$ is 3x1.
How can I solve this? There could be multiple solutions.
Let $X=(x_{jk})_{j,k=1}^3$ and $Y=(l,m,n)^T$ with $l,m,n \in \mathbb N.$ Since $x_{11}=x_{22}=x_{33}=0$, we get from $XI=Y$ the equations
$x_{12}+x_{13}=l, x_{21}+x_{23}=m$ and $x_{31}+x_{32}=n.$
Can you proceed ?