Let $p$ be a prime number such that $\frac{28^p-1}{2p^2+2p+1}$ is an integer. Find all possible values of the number of divisors of $2p^2+2p+1$.

Let's think step by step and output the final answer within \boxed{}.
user