\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{multicol,tikz,kgm2}
\usepackage{hyperref}
\usetikzlibrary{arrows,automata}
%\usepackage{fullpage}


\tikzstyle{vertex}=[circle,draw]

\newcommand{\kgmclass}{Math303}
\newcommand{\kgmtitle}{Homework 10}
\newcommand{\kgmdate}{Due: Fri. Nov 6, 2026}
\newcommand{\kgmcomment}[1]{}

\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

\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}

\newtheorem{theorem}{Theorem}

\noindent
\textbf{Directions:} You may work to solve these problems in groups, but all written work must be your own.  Unless the problem indicates otherwise, all problems require some justification; a correct answer without supporting reasoning is not sufficient.  See ``Guidelines and advice'' on the course webpage for more information.

\begin{enumerate}

\item Prove the following by contradiction.
\begin{enumerate}
	\item If $b\in\ZZ$ and $b\nmid k$ for every $k\in\NN$, then $b=0$.
	\item Suppose $a,b\in\RR$.  If $a$ is rational and $ab$ is irrational, then $b$ is irrational.
\end{enumerate}

\item Prove the following (using any method).
\begin{enumerate}
	\item There is a prime number between $90$ and $100$.
	\item If $a\in\ZZ$, then $a^3\equiv a\pmod{3}$.
	\item There exists a positive real number $x$ for which $x^2 < \sqrt{x}$.
	\item Suppose $a,b\in\ZZ$.  If $a+b$ is odd, then $a^2 + b^2$ is odd.
	\item There exist unique non-negative integers $x$ and $y$ such that $145408=x\cdot 2^y$ and $x$ is odd.
\end{enumerate}

\item Let $a,b,c,d\in\ZZ$ and suppose that $bc-ad = 1$.  Prove that $\gcd(an+b,cn+d)=1$ for each $n\in\ZZ$.  Hint: show that $bc-ad$ is an integer combination of $an+b$ and $cn+d$.  That is, find integers $x$ and $y$ such that $x(an+b) + y(cn+d) = bc-ad = 1$.  

\item Let $a,b,c\in\ZZ$.  Prove that if $a\mid bc$ and $\gcd(a,b)=1$, then $a\mid c$.

\item \textit{Proofs involving sets.}  Prove the following.
\begin{enumerate}
	\item $\{6n\st n\in\ZZ\} = \{2n\st n\in\ZZ\} \cap \{3n\st n\in\ZZ\}$.
	\item $\{9^n\st n\in\QQ\} = \{3^n\st n\in\QQ\}$
	\item If $A$ and $B$ be sets, then $A\subseteq B$ if and only if $A\cap B = A$.
	\item $\bigcap_{x\in\RR} [3-x^2, 5+x^2] = [3,5]$.
	\item Suppose $B\ne \emptyset$ and $A\times B\subseteq B\times C$.  Prove that $A\subseteq C$.
\end{enumerate}

\item Let $n$ be an integer such that $n\ge 3$, and suppose that $n$ lights are arranged in a circle.  Initially, all lights are off.  Each light is attached to a switch, but flipping a switch toggles the on/off status of its light and the two neighboring lights.  In terms of $n$, what is the minimum number of switch flips needed to turn all lights on?  Prove that your answer is correct.

\end{enumerate}
\end{document}
