Noob here: first time using Latex and can't seem to write one line of code without getting ! Undefined control sequence. error. Here is the line it has a problem with:
$$ \left \{ x\in\mathbb{Z}:-2\leq x< 7 \right \} $$
And here is the rest of my document for context:
\documentclass{article}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{amstext}
\begin{document}
\section{Chapter 1: Sets}
\subsection{Introduction to Sets}
Write each of the following sets by listing their elements between braces:
\begin{enumerate}
\item Problem 3
$$ \left \{ x\in\mathbb{Z}:-2\leq x< 7 \right \} $$
\end{enumerate}
\end{document}

amssymb. – Fran Apr 04 '15 at 22:00