3. For a regular $n$-sided pyramid, if the side length of the base and the side length of the lateral edge are equal, then the set of values for $n$ is $\qquad$

Translate the above text into English, please retain the original text's line breaks and format, and output the translation result directly.
$\{3,4,5\}$;