I find it very amusing that $$\det|f(i)+g(j)|_{n\times n}=0, n \ne 2~~~~~~(1)$$ and $$\det|f(i)g(j)|_{n\times n}=0,n \ne 2.~~~~~(2)$$ Here, $f(x)$ and $g(x)$ are arbitrary functions and $i,j\in [1,n].$
This appears to be the characteristics of determinants. Have you experienced this? is it something trivial and warranted?!
With $a = (f(1), \ldots , f(n))^T$ and $b = (g(1), \ldots, g(n))^T$ the matrix $$ M_1 = (a_i b_j) = a b^T $$ has zero as an eigenvalue if $n \ge 2$: $M_1 c = 0$ for every vector $c$ orthogonal to $b$. Therefore the determinant $(2)$ is zero.
Similarly, $(1)$ is the determinant of the matrix $$ M_2 = a e^T + e b^T $$ with $e = (1\ldots, 1)^T$. If $n\ge 3$ then there exists a vector $c$ orthogonal to both $e$ and $b$, so that $M_2 c = 0$.
Generally, a square matrix of the form $uv^T$ has the rank (at most) one, the sum of $k$ rank-one matrices has rank at most $k$, and $\det M = 0$ if the rank of $M$ is less than its dimension.