For $a_i \in \mathbb{C}$, if $(1+a_1^k)(1+a_2^k)\cdots (1+a_n^k)=1$ holds for all positive integers $k$, does it follow that $a_1=\cdots =a_n =0$?
In fact, I want to prove $|I+A^k|=1$ for any positive integer $k$ ,where $A$ is a $n \times n$ matrix implies $A$ is nilpotent.
Expand the product $(1+a_1)\cdots (1+a_n)$, we obtain $$ e_1 +\cdots + e_n = 0 $$ where $e_m=\sum_{1\leq j_1<\cdots <j_m\leq n} a_{j_1}\cdots a_{j_m}$ for each $m\leq n$.
Let $e_{m,k}=\sum_{1\leq j_1<\cdots <j_m\leq n} a_{j_1}^k\cdots a_{j_m}^k$.
By the assumption, we obtain $$ e_{1,k}+\cdots + e_{n,k}=0 $$ for each $k\geq 1$.
This condition implies each summand $a_{j_1}\cdots a_{j_m}$ appearing in $e_m$ is zero. For the proof, see this answer by Sangchul Lee.
Since each $a_j$, $1\leq j\leq n$ appears in $e_1$, we have $$ a_1=\cdots =a_n=0 $$ as desired.