I have generated a minimal working example of an issue I'm having. I'm simple writing in an article document type, and for some reason the enumerate environment is flushing left. I would like it to be normally indented relative to the surrounding text.
Below is the offending code and a picture of what it looks like.
\documentclass{article}
\usepackage{amsmath}
\usepackage{geometry}
\geometry{legalpaper, portrait, margin=1in}
\usepackage{amssymb}
\begin{document}
\section{Fermat's Little Theorem using Group Theory}
Fermat's Little Theorem (1637): For any integer $n$ and prime $p>n$, $n^p\equiv n\,(\mod p)$.
\vspace{2mm}
Two preliminary theorems:
\begin{enumerate}
\item[1. Bezout's Identity:] Let $a,b\in\mathbb{Z}$ (but not both zero) and $d=\gcd (a,b)$. There always exists at least one pair of integers $(x,y)$ such that:
$$ax+by=d$$
\item[2. Lagrange's Theorem]: For any finite group $G$ and subgroup $H$, the order of $H$ divides $G$, i.e. $[G]=k[H]$ for some $k\in \mathbb{Z}_+$.
\end{enumerate}
\end{document}


$$...$$is TeX primitive syntax Why is [ … ] preferable to $$ … $$? – Sebastiano Aug 27 '18 at 14:37