%% Welcome!  Skip to where you see other comments to get started!
\documentclass{article}
\usepackage{fancyhdr, amsmath, amssymb, mathrsfs, amsthm}


%% Fill these in with your own values! 
%% Start with the homework number, here it says X.
\newcommand{\thishw}{CS127 Homework \#X}

%% Fill in your Banner ID here
\newcommand{\thisstudent}{B00000001}

%% This is the semester, you don't need to change this here.
\newcommand{\thissemester}{Fall 2015}

\pagestyle{fancyplain}
\lhead{\thissemester}
\chead{\thishw}
\rhead{\thisstudent}
\cfoot{\bf \thepage}

\renewcommand{\thesection}{\textbf{Problem \arabic{section}}}
\begin{document}

%% HERE GO YOUR ANSWERS!
%%
%%  Place each solution in a \section, and it will be automatically
%% numbered and formatted.
%% Below is an example.
\section{}
Here is my solution for problem 1!  My solution is so long and tough that it will require another paragraph!

I will type this other paragraph by placing a blank line between this and the last one.  Oh my, I need an equation!  First I'll have an inline on, the Pythagorean relation!  $a^{2} + b^{2} = c^{2}$!  We, however know that $a^{n} + b^{n} \ne c^{n}, n \ge 3$.  We need displaymath?

$$\sum_{i = 0}^{n} = \dfrac{n(n-1)}{2}$$


%% Before starting another problem, you should start a new page.  You can do this 
%% with the following command:
\pagebreak{}
\section{}
Now for my solution to problem 2!










%% Do not write beyond this line!  Everything should be between \begin{document}
%% and \end{document}
\end{document}
