It is well known that in ordinary $4$ dimension, the photon has on shell only two physical degrees of freedom. Physically this means its elicity is either $\lambda=+1$ or $\lambda=-1$ but cannot assume the value $0$, or that out of the four components of $A^{\mu}$ only two are really independent.
Now, is it possible to work how many degrees of freedom does the photon have (on shell) in an arbitrary number $n$ of dimensions?