\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 8}
\newcommand{\kgmdate}{Mon. Oct. 26, 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{2} Let $x,y\in\ZZ$.  Give a proof by contrapositive that if $xy$ is even, then $x$ is even or $y$ is even.
\vfill

\item\ppoints{2}{2} Congruences.
\begin{enumerate}
	\item Give the definition of $a\equiv b \pmod{m}$.
	\vspace{3cm}
	
	\item Let $a,b,m\in\ZZ$ and let $m$ be odd.  Show that if $2a\equiv 2b\pmod{m}$, then $a\equiv b\pmod{m}$.
	\vfill
\end{enumerate}


\newpage
\item\points{2} Let $a\in\ZZ$.  Prove that if $9\nmid a^2$, then $3\nmid a$.
\vfill

\item\points{2} Prove that for each $n\in\NN$, there exist nonnegative integers $r$ and $s$ such that $s$ is odd and $n=2^{r}s$.
\vfill


\end{enumerate}
\end{document}
