Hamming codes of the form [8,k,3] over $\mathbb{F}_q$

40 Views Asked by At

I want to determine all values of $q$ such that $C$ is an $[8,k,3]$ Hamming code over $\mathbb{F}_q$. Is there a way to do this that's not just computing every possible values of $q$? Since $k$ is fixed I thought there would be a way to use this, but I don't see it.