\documentclass[12pt]{article}
\usepackage{amsmath,amssymb,graphicx,txfonts,multicol}
\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\bbQ{{\mathbb Q}}
\def\bbR{{\mathbb R}}
\def\bbZ{{\mathbb Z}}

\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 1} ``Search for a Pattern'', January 8, 2015. You have 25 minutes to solve as much as you can of the following problem. Please write on both sides of the page. \hfill {\bf Good Luck!}

\vskip 2mm

\noindent{\bf Problem} (Larson's book, problem 1.1.6, plus little). Beginning with 2 and 7, the sequence 2,7,1,4,7,4,2,8,\ldots is constructed by multiplying successive pairs of its members and adjoining the result as the next one or two members of the sequence, depending on whether the product is a one- or two-digit number.
\begin{enumerate}
\item Prove that the digit 6 appears an infinite number of times in the sequence.
\item Prove that the sequence is not periodic.
\end{enumerate}

\end{document}

