Define $\tau(k)$ as follows :

$$\Delta(x)=x\prod_{n=1}^\infty(1-x^n)^{24}=\sum_{k=1}^\infty\tau(k)x^k.$$

This is equivalent to

$$\prod_{n=1}^\infty(1-x^n)^{24}=\sum_{k=1}^\infty\tau(k)x^{k-1}.$$

Let $a(n) = \tau(n)$ mod $(n-1)$ for $n > 1$.

For example (OEIS A299204),

$a(2) = 0, a(3) = 0, a(4) = 1, a(5) = 2$.

Surprisingly, except $ 4 $ and $ 16 $, there is no integer $n \le 10^7$ such that $a(n) = 1$.

Are the only solutions of the equation $a(n) = 1$ $n=4$ and $n=16$?

P.S.

Let $b(k)$ = number of the solution of the equation $a(n) = k$ for $n$ in $[2,10^7]$.

$ \{b(0), b(1), \cdots \} = \{631, 2, 544, 11, 18, 8, 14, 5, 20, 15, 14, 4, 23, 4, 7, 9, 17, 5, 25, 6, 21, 7, 18, 11, 15, 7, 16, 13, 19, 11, 12, 6, 16, 6, 7, 9, 20, 5, 12, 9, 21, 6, 17, 1, 11, 13, 11, 8, 26, 11, 12, 6, 18, 4, 22, 5, 21, 8, 13, 2, 18, 2, 14, 9, 15, 7, 16, 6, 11, 13, 11, 3, 39, 6, 12, 11, 14, 14, 14, 2, 12, 8, 10, 4, 31, 9, 7, 10, 10, 8, 20, 7, 18, 12, 14, 3, 17, 3, 17, 16, \cdots \}.$