\DocumentMetadata{
  pdfstandard=ua-2, 
  lang=en-US,
  tagging=on,
  tagging-setup = {
    math/setup=mathml-SE,
    math/alt/use,
    table/header-rows = 1
  }
}

\documentclass[11pt]{article}
\usepackage{kgm2,tikz}
\usetikzlibrary{arrows,automata}
%\usepackage[latin1]{inputenc}

\tikzstyle{vertex}=[circle,draw]

\newcommand{\kgmcomment}[1]{}
\newcommand{\kgmclass}{Math303}
\newcommand{\kgmtitle}{Quiz 10}
\newcommand{\kgmdate}{Mon. Nov. 9, 2026}

\hypersetup{
  pdftitle={\kgmtitle},  % Registers the PDF Title metadata
  pdfauthor={K.G. Milans},          % Registers the Author metadata
  pdfdisplaydoctitle=true           % Tells PDF viewers to display the title, not filename
}


\begin{document}
\headers{\kgmclass}{\kgmtitle}{\kgmdate}

%\makeatletter
%\def\@oddfoot{\hfill \tikz \node[draw] {over} ; }
%\makeatother

\section*{\vspace{-2em}\smash{\phantom{Solutions}}}

\makeatletter
\def\@oddfoot{}
\makeatother

\noindent
\hfill Name: \underline{\hspace{3.5in}} 

%\begin{flushright}
%Name: \underline{\hspace{3.5in}} \\
%\end{flushright}
%\hrule

\def\columnseprule{0.4pt}



\noindent
\textbf{Directions:} Solve the following problems.  Give supporting work/justification where appropriate.

\begin{enumerate}
\item\points{3} Recall that an integer $p$ is \emph{prime} if $p\ge 2$ and the only positive divisors of $p$ are $1$ and $p$.  Let $a,b\in\ZZ$.  Prove that $\gcd(a,b)=1$ if and only if for each prime $p$, either $p\nmid a$ or $p\nmid b$.  (You may use that each $n\in\ZZ$ with $n\ge 2$ is divisible by some prime.)
\vfill

\item Existence and Uniqueness.
\begin{enumerate}
	\item\points{3} Prove that there is a unique integer $d$ such that $d>0$ and $d$ divides every integer.
	\vfill

	\item\points{1} What goes wrong if the condition $d>0$ is omitted from the statement to be proved in part (a)?
	\vspace{2cm}
\end{enumerate}

\newpage

\item\points{3} Let $A,B,C$ be sets.  Let $X=A\cup (B\cap C)$ and let $Y=(A\cup B)\cap (A\cup C)$.  Prove that $X=Y$.
\vfill

\end{enumerate}
\end{document}
