\documentclass[12pt]{article}
\usepackage{amsmath,amssymb,graphicx,txfonts,multicol,picins}
\usepackage[setpagesize=false]{hyperref}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage[setpagesize=false]{hyperref}\hypersetup{colorlinks,
  linkcolor={blue!50!black},
  citecolor={blue!50!black},
  urlcolor=blue
}

\paperwidth 8in
\paperheight 10.5in
\textwidth 8in
\textheight 10.5in
\oddsidemargin -0.75in
\evensidemargin \oddsidemargin
\topmargin -0.75in
\headheight 0in
\headsep 0in
\footskip 0in
\parindent 0in
\setlength{\topsep}{0pt}
\pagestyle{empty}

\def\myurl{http://www.math.toronto.edu/~drorbn/}

\def\bbC{{\mathbb C}}
\def\bbF{{\mathbb F}}
\def\bbN{{\mathbb N}}
\def\bbQ{{\mathbb Q}}
\def\bbR{{\mathbb R}}
\def\bbZ{{\mathbb Z}}

\def\imagetop#1{\vtop{\null\hbox{#1}}}

\begin{document}

Name (Last, First): $\underline{\hspace{3in}}$ \hfill Student ID: $\underline{\hspace{2in}}$

\vskip 2mm

{\small
  \href{\myurl}{Dror Bar-Natan}:
  \href{\myurl/classes/}{Classes}:
  \href{\myurl/classes/\#1415}{2014-15}:
  \href{\myurl/classes/15-475-ProblemSolving}{MAT 475 Problem Solving Seminar}:
  \hfill\url{http://drorbn.net/15-475}
}

\vskip 3mm

{\large\bf Quiz 8} on March 10, 2015: ``argue by contradiction'' and the Pigeonhole Principle. You have 30 minutes to solve the two problems below. Please write on both sides of the page. \hfill {\bf Good Luck!}

\vskip 2mm

\noindent{\bf Marking Comment.} At least for now, I have decided to simplify the management of this course and mark the quizzes myself, though at a delay of one week, in symbolic acknowledgement of the ongoing TA strike.

\vskip 2mm

\noindent{\bf Problem 1} (Larson's 2.6.10, expanded).
\begin{enumerate}
\item (4 points) Let $X$ be any real number. Prove that among the numbers
\[ X,\ 2X,\ \ldots,\ (n-1)X \]
there is at least one that differs from an integer by at most $1/n$.
\item (4 points) Let $\alpha$ be an irrational number. Prove that the set $\{\{n\alpha\}\colon n\in\bbZ\}$ is dense in the unit interval $[0,1]$, where for a real number $x$, $\{x\}$ denotes its ``fractional part'' --- the difference between $x$ and the largest integer $\lfloor x\rfloor$ smaller or equal to $x$.
\end{enumerate}

\noindent{\bf Problem 2} (5 points, Larson's 1.9.5, abbreviated). A set $S$ of rational
numbers is closed under addition and multiplication, and it is given that for
every $r\in\bbQ$ exactly one of the following is true: $r\in S$, $-r\in S$,
$r=0$. Prove that $S$ is the set of all positive rational numbers.

\end{document}

