I wanted to know is zero divisible by zero? I've read that division by zero is not allowed in mathematics, but for instance in Apostol's Introduction to analytic number theory, it states that only $0$ divides $0$, and I've seen problems in form $0\mid f(x)$, wanting the possible amounts of $x$ (integer amounts).
This might be similar to some other topics, but they examine the problem in the set of real numbers (analytic sight), but mine is concered with elementary number theory which concerns integers.
This depends on your context.
In the context of fields, like the rational numbers or the real numbers, $0$ does not divide anything, since division is given by multiplying by the multiplicative inverse (which exists from the axioms).
However, in the context of the natural numbers we define the divisibility relation as follows: $$n\mid m\iff\exists k:k\cdot n=m.$$
In that case, every number divides $0$, including $0$ itself. (Note that $\exists k$ is bounded to the natural numbers here!)