     
\documentclass[addpoints]{exam}
    


\usepackage{amsfonts}
\usepackage{tikz}
\usepackage{amsmath}

\usetikzlibrary{arrows,shapes}

\sloppy


\begin{document}

  \pagestyle{headandfoot}
  \runningheadrule
  \firstpageheader{ Math 184A }{ Homework 3 }{ May 4, 2019 }
  \runningheader{ Math 184A }{ Homework 3, Page \thepage\ of \numpages}{ May 4, 2019 }

  \firstpagefooter{}{}{}
  \runningfooter{}{}{}
  \begin{flushright}
    \makebox[0.4\textwidth]{Name: \enspace\hrulefill}

    \vspace{0.2in}
    \makebox[0.4\textwidth]{Pid:\enspace\hrulefill}
  \end{flushright}

  \begin{questions}
    \question
      Find a recursive formula for the number $t(n)$ of permutations of $[n]$
			whose cube is the identity permutation.

      \begin{solution}[\stretch{1}]
      \end{solution}
      \newpage
    \question
      Find an explicit formula for the sequence $\{a_n\}_{n \ge 0}$, where
			$a_{n + 2} = a_{n + 1} + a_n$, $a_0 = 1$ and $a_1 = 3$.

      \begin{solution}[\stretch{1}]
      \end{solution}
      \newpage
  \end{questions}
\end{document}