Definition:Fermat Pseudoprime/Base 3

Definition
Let $q$ be a composite number such that $3^q \equiv 3 \pmod q$.

Then $q$ is a Fermat pseudoprime to base $3$.